aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/i386/loader/Makefile
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/i386/loader/Makefile
parent7e6155744d78c5f233af37fefc8f1e576a0fe63f (diff)
downloadsrc-8161a352590f04ded64d00419c02b17baa76246a.tar.gz
src-8161a352590f04ded64d00419c02b17baa76246a.zip
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/i386/loader/Makefile')
-rw-r--r--sys/boot/i386/loader/Makefile20
1 files changed, 10 insertions, 10 deletions
diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile
index e588d7996ba6..e330b6e7b72d 100644
--- a/sys/boot/i386/loader/Makefile
+++ b/sys/boot/i386/loader/Makefile
@@ -1,5 +1,15 @@
# $FreeBSD$
+LOADER_NET_SUPPORT?= yes
+LOADER_NFS_SUPPORT?= yes
+LOADER_TFTP_SUPPORT?= yes
+LOADER_CD9660_SUPPORT?= no
+LOADER_EXT2FS_SUPPORT?= no
+LOADER_MSDOS_SUPPORT?= no
+LOADER_UFS_SUPPORT?= yes
+LOADER_GZIP_SUPPORT?= yes
+LOADER_BZIP2_SUPPORT?= yes
+
.include <bsd.init.mk>
MK_SSP= no
@@ -10,16 +20,6 @@ MAN=
INTERNALPROG=
NEWVERSWHAT?= "bootstrap loader" x86
VERSION_FILE= ${.CURDIR}/../loader/version
-LOADER_NET_SUPPORT?= yes
-LOADER_NFS_SUPPORT?= yes
-LOADER_TFTP_SUPPORT?= yes
-
-LOADER_CD9660_SUPPORT?= no
-LOADER_EXT2FS_SUPPORT?= no
-LOADER_MSDOS_SUPPORT?= no
-LOADER_UFS_SUPPORT?= yes
-LOADER_GZIP_SUPPORT?= yes
-LOADER_BZIP2_SUPPORT?= yes
# architecture-specific loader code
SRCS= main.c conf.c vers.c chain.c