diff options
author | luigi <luigi@FreeBSD.org> | 2000-02-04 20:57:09 +0000 |
---|---|---|
committer | luigi <luigi@FreeBSD.org> | 2000-02-04 20:57:09 +0000 |
commit | 0e62e2011bf1ee523e5e26dfeecd1be03bbada7b (patch) | |
tree | 54e71870bd383e5d5e99d8fe58882444578f699f /sys/boot | |
parent | b36ea4aac23a878b429f804ac855ae9a04925c30 (diff) | |
download | FreeBSD-src-0e62e2011bf1ee523e5e26dfeecd1be03bbada7b.zip FreeBSD-src-0e62e2011bf1ee523e5e26dfeecd1be03bbada7b.tar.gz |
Add a NOFORTH variable so we can build a smaller loader without
Forth support, for use with PicoBSD
Approved-By: jordan
Diffstat (limited to 'sys/boot')
-rw-r--r-- | sys/boot/i386/loader/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile index 48f9ff9..cb71545 100644 --- a/sys/boot/i386/loader/Makefile +++ b/sys/boot/i386/loader/Makefile @@ -16,6 +16,7 @@ SRCS= main.c conf.c HAVE_PNP= yes HAVE_ISABUS= yes +.if !defined(NOFORTH) # Enable BootForth BOOT_FORTH= yes CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/i386 @@ -24,6 +25,7 @@ LIBFICL= ${.OBJDIR}/../../ficl/libficl.a .else LIBFICL= ${.CURDIR}/../../ficl/libficl.a .endif +.endif # Always add MI sources .PATH: ${.CURDIR}/../../common |