summaryrefslogtreecommitdiff
path: root/stand/i386/loader
diff options
context:
space:
mode:
authorSimon J. Gerraty <sjg@FreeBSD.org>2020-07-19 23:54:00 +0000
committerSimon J. Gerraty <sjg@FreeBSD.org>2020-07-19 23:54:00 +0000
commite17f5b1d307b7b8910d67883e57a9604305906d5 (patch)
tree5a9f9551abafa2e64f176c905f7d04c25772ae5e /stand/i386/loader
parentcf5cd89c3a93eb41213a0fe83be7ff79c3d9bb63 (diff)
downloadsrc-test2-e17f5b1d307b7b8910d67883e57a9604305906d5.tar.gz
src-test2-e17f5b1d307b7b8910d67883e57a9604305906d5.zip
Notes
Diffstat (limited to 'stand/i386/loader')
-rw-r--r--stand/i386/loader/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/stand/i386/loader/Makefile b/stand/i386/loader/Makefile
index b74ef9007d97..b46129d5a2dd 100644
--- a/stand/i386/loader/Makefile
+++ b/stand/i386/loader/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD$
-
+.if 0
HAVE_ZFS= ${MK_LOADER_ZFS}
LOADER_NET_SUPPORT?= yes
@@ -11,6 +11,10 @@ LOADER_MSDOS_SUPPORT?= yes
LOADER_UFS_SUPPORT?= yes
LOADER_GZIP_SUPPORT?= yes
LOADER_BZIP2_SUPPORT?= yes
+.else
+LOADER_NET_SUPPORT?= yes
+LOADER_UFS_SUPPORT?= yes
+.endif
.include <bsd.init.mk>
@@ -56,8 +60,8 @@ LIBI386= ${BOOTOBJ}/i386/libi386/libi386.a
CFLAGS+= -I${BOOTSRC}/i386
# Debug me!
-#CFLAGS+= -g
-#LDFLAGS+= -g
+CFLAGS+= -g
+LDFLAGS+= -g
${LOADER}: ${LOADER}.bin ${BTXLDR} ${BTXKERN}
btxld -v -f aout -e ${LOADER_ADDRESS} -o ${.TARGET} -l ${BTXLDR} \