Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F153015457
D4558.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
3 KB
Referenced Files
None
Subscribers
None
D4558.diff
View Options
Index: sys/boot/arm/uboot/Makefile
===================================================================
--- sys/boot/arm/uboot/Makefile
+++ sys/boot/arm/uboot/Makefile
@@ -146,6 +146,7 @@
CLEANFILES+= ldscript.abs ldscript.pie ubldr ubldr.pie ubldr.bin
.if !defined(LOADER_ONLY)
+.if ${MK_FORTH} != "no"
.PATH: ${.CURDIR}/../../forth
.include "${.CURDIR}/../../forth/Makefile.inc"
@@ -156,4 +157,6 @@
FILESNAME_menu.rc= menu.rc.sample
.endif
+.endif
+
.include <bsd.prog.mk>
Index: sys/boot/mips/beri/loader/Makefile
===================================================================
--- sys/boot/mips/beri/loader/Makefile
+++ sys/boot/mips/beri/loader/Makefile
@@ -122,10 +122,13 @@
cat ${.ALLSRC} | \
awk -f ${.CURDIR}/../../../common/merge_help.awk > ${.TARGET}
+.if ${MK_FORTH} != "no"
.PATH: ${.CURDIR}/../../../forth
.include "${.CURDIR}/../../../forth/Makefile.inc"
FILES+= loader.rc menu.rc
+.endif
+
.if defined(LOADER_USB_SUPPORT)
# Do garbage collection
Index: sys/boot/pc98/loader/Makefile
===================================================================
--- sys/boot/pc98/loader/Makefile
+++ sys/boot/pc98/loader/Makefile
@@ -87,10 +87,12 @@
# XXX INSTALLFLAGS_loader= -b
FILESMODE_${LOADER}= ${BINMODE} -b
+.if ${MK_FORTH} != "no"
.PATH: ${.CURDIR}/../../forth
.include "${.CURDIR}/../../forth/Makefile.inc"
FILES+= ${.CURDIR}/../../i386/loader/loader.rc menu.rc
+.endif
# XXX crt0.o needs to be first for pxeboot(8) to work
OBJS= ${BTXCRT}
Index: sys/boot/powerpc/kboot/Makefile
===================================================================
--- sys/boot/powerpc/kboot/Makefile
+++ sys/boot/powerpc/kboot/Makefile
@@ -109,9 +109,11 @@
cat ${.ALLSRC} | \
awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}
+.if ${MK_FORTH} != "no"
.PATH: ${.CURDIR}/../../forth
.include "${.CURDIR}/../../forth/Makefile.inc"
FILES+= loader.rc menu.rc
+.endif
.include <bsd.prog.mk>
Index: sys/boot/powerpc/ofw/Makefile
===================================================================
--- sys/boot/powerpc/ofw/Makefile
+++ sys/boot/powerpc/ofw/Makefile
@@ -109,9 +109,11 @@
cat ${.ALLSRC} | \
awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}
+.if ${MK_FORTH} != "no"
.PATH: ${.CURDIR}/../../forth
.include "${.CURDIR}/../../forth/Makefile.inc"
FILES+= loader.rc menu.rc
+.endif
.include <bsd.prog.mk>
Index: sys/boot/sparc64/loader/Makefile
===================================================================
--- sys/boot/sparc64/loader/Makefile
+++ sys/boot/sparc64/loader/Makefile
@@ -96,9 +96,11 @@
cat ${.ALLSRC} | \
awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}
+.if ${MK_FORTH} != "no"
.PATH: ${.CURDIR}/../../forth
.include "${.CURDIR}/../../forth/Makefile.inc"
FILES+= loader.rc menu.rc
+.endif
.include <bsd.prog.mk>
Index: sys/boot/userboot/Makefile
===================================================================
--- sys/boot/userboot/Makefile
+++ sys/boot/userboot/Makefile
@@ -1,8 +1,15 @@
# $FreeBSD$
.include <bsd.own.mk>
+.include <src.opts.mk>
-SUBDIR= ficl libstand test zfs userboot
+SUBDIR= libstand
+
+.if ${MK_FORTH} != "no"
+SUBDIR+= ficl
+.endif
+
+SUBDIR+= test zfs userboot
.include <bsd.subdir.mk>
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Apr 19, 3:39 PM (14 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
31780758
Default Alt Text
D4558.diff (3 KB)
Attached To
Mode
D4558: Make FORTH optional for various loaders.
Attached
Detach File
Event Timeline
Log In to Comment