Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F107314149
D47209.id145229.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D47209.id145229.diff
View Options
diff --git a/stand/loader.mk b/stand/loader.mk
--- a/stand/loader.mk
+++ b/stand/loader.mk
@@ -1,4 +1,3 @@
-
.PATH: ${LDRSRC} ${BOOTSRC}/libsa
CFLAGS+=-I${LDRSRC}
@@ -30,6 +29,33 @@
SRCS+= metadata.c
.endif
+#
+# LOADER_*_SUPPORT variables are used to subset the boot loader in the various
+# configurations each platform supports. These are typically used to omit broken
+# options, or to size optimize for space constrained instances. These are set in
+# loader Makefiles (which include loader.mk) to control which subset of features
+# are enabled. These cannot generally be set in src.conf since that would affect
+# all loaders, but also not all loaders are setup for overrides like that and
+# not all combinations of the following have been tested or even work. Sometimes
+# non-default values won't work due to buggy support for that component being
+# optional.
+#
+# LOADER_BZIP2_SUPPORT Add support for bzip2 compressed files
+# LOADER_CD9660_SUPPORT Add support for iso9660 filesystems
+# LOADER_DISK_SUPPORT Adds support for disks and mounting filesystems on it
+# LOADER_EXT2FS_SUPPORT Add support for ext2 Linux filesystems
+# LOADER_GPT_SUPPORT Add support for GPT partitions
+# LOADER_GZIP_SUPPORT Add support for gzip compressed files
+# LOADER_INSTALL_SUPPORT Add support for booting off of installl ISOs
+# LOADER_MBR_SUPPORT Add support for MBR partitions
+# LOADER_MSDOS_SUPPORT Add support for FAT filesystems
+# LOADER_NET_SUPPORT Adds networking support (useless w/o net drivers sometimes)
+# LOADER_NFS_SUPPORT Add NFS support
+# LOADER_TFTP_SUPPORT Add TFTP support
+# LOADER_UFS_SUPPORT Add support for UFS filesystems
+# LOADER_ZFS_SUPPORT Add support for ZFS filesystems
+#
+
.if ${LOADER_DISK_SUPPORT:Uyes} == "yes"
CFLAGS.part.c+= -DHAVE_MEMCPY -I${SRCTOP}/sys/contrib/zlib
SRCS+= disk.c part.c vdisk.c
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Jan 13, 9:53 AM (19 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14293749
Default Alt Text
D47209.id145229.diff (1 KB)
Attached To
Mode
D47209: loader/loader.mk: add docs for LOADER_*_SUPPORT variables
Attached
Detach File
Event Timeline
Log In to Comment