Page MenuHomeFreeBSD

D59416.1796454895.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D59416.1796454895.diff

diff --git a/stand/efi/loader/Makefile b/stand/efi/loader/Makefile
--- a/stand/efi/loader/Makefile
+++ b/stand/efi/loader/Makefile
@@ -6,6 +6,7 @@
LOADER_GZ_SUPPORT?= yes
LOADER_BZIP2_SUPPORT?= yes
LOADER_XZ_SUPPORT?= yes
+LOADER_MD_SUPPORT?= yes
.include <bsd.init.mk>
diff --git a/stand/loader.mk b/stand/loader.mk
--- a/stand/loader.mk
+++ b/stand/loader.mk
@@ -48,6 +48,7 @@
# 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_MD_SUPPORT Add support for Memory disks
# 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
@@ -70,10 +71,12 @@
SRCS+= bcache.c
.endif
+.if ${LOADER_MD_SUPPORT:Uno} == "yes"
.if defined(MD_IMAGE_SIZE)
CFLAGS+= -DMD_IMAGE_SIZE=${MD_IMAGE_SIZE}
+.endif
+CFLAGS+= -DLOADER_MD_SUPPORT
SRCS+= md.c
-.else
CLEANFILES+= md.o
.endif

File Metadata

Mime Type
text/plain
Expires
Sat, Dec 5, 7:14 AM (9 h, 10 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42222239
Default Alt Text
D59416.1796454895.diff (1 KB)

Event Timeline