aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/efi
diff options
context:
space:
mode:
authorRoger Pau Monné <royger@FreeBSD.org>2017-11-08 14:44:45 +0000
committerRoger Pau Monné <royger@FreeBSD.org>2017-11-08 14:44:45 +0000
commit8161a352590f04ded64d00419c02b17baa76246a (patch)
tree6e01bb49234b01e2c53e372d26bade213268b86d /sys/boot/efi
parent7e6155744d78c5f233af37fefc8f1e576a0fe63f (diff)
loader: set options before including bsd.init.mk
bsd.init.mk ends up including defs.mk so the per-arch options must be set before including defs.mk, or else the global defaults will be used and the per-arch ones will be ignored. Although better, note that the usage of MK_FDT before the inclusion of bsd.init.mk is incorrect but doesn't lead to build errors. This circular dependency must be broken in order for this to work correctly. Reviewed by: imp Sponsored by: Citrix Systems R&D
Notes
Notes: svn path=/head/; revision=325556
Diffstat (limited to 'sys/boot/efi')
-rw-r--r--sys/boot/efi/loader/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/boot/efi/loader/Makefile b/sys/boot/efi/loader/Makefile
index 0c560d554ecb..82852da1733e 100644
--- a/sys/boot/efi/loader/Makefile
+++ b/sys/boot/efi/loader/Makefile
@@ -2,6 +2,12 @@
MAN=
+LOADER_NET_SUPPORT?= yes
+LOADER_MSDOS_SUPPORT?= yes
+LOADER_UFS_SUPPORT?= yes
+LOADER_CD9660_SUPPORT?= no
+LOADER_EXT2FS_SUPPORT?= no
+
.include <bsd.init.mk>
MK_SSP= no
@@ -9,12 +15,6 @@ MK_SSP= no
PROG= loader.sym
INTERNALPROG=
WARNS?= 3
-LOADER_NET_SUPPORT?= yes
-
-LOADER_MSDOS_SUPPORT?= yes
-LOADER_UFS_SUPPORT?= yes
-LOADER_CD9660_SUPPORT?= no
-LOADER_EXT2FS_SUPPORT?= no
# architecture-specific loader code
SRCS= autoload.c \