summaryrefslogtreecommitdiffstats
path: root/sys/boot/efi
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-02-26 06:18:52 +0000
committerobrien <obrien@FreeBSD.org>2003-02-26 06:18:52 +0000
commitde20c1280dec645de04b0dc982df31593e041218 (patch)
tree28368b072f256ea2dbb3f2e23c56b68c6e8fa7be /sys/boot/efi
parent0f0fab8ca6f06726635690cafaa268b12439d162 (diff)
downloadFreeBSD-src-de20c1280dec645de04b0dc982df31593e041218.zip
FreeBSD-src-de20c1280dec645de04b0dc982df31593e041218.tar.gz
Consistently use NOFORTH to control the usage of ficl.
Diffstat (limited to 'sys/boot/efi')
-rw-r--r--sys/boot/efi/loader/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/boot/efi/loader/Makefile b/sys/boot/efi/loader/Makefile
index 5881829..e2f9a84 100644
--- a/sys/boot/efi/loader/Makefile
+++ b/sys/boot/efi/loader/Makefile
@@ -12,18 +12,17 @@ STRIP= # We must not strip loader.efi at install time.
SRCS+= main.c conf.c dev_net.c
CFLAGS+= -ffreestanding
+
+.if !defined(NOFORTH)
# Enable BootForth
BOOT_FORTH= yes
-CFLAGS+= -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/${MACHINE_ARCH}
-.if BOOT_FORTH
CFLAGS+= -DBOOT_FORTH
+CFLAGS+= -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/${MACHINE_ARCH}
.if exists(${.OBJDIR}/../../ficl/libficl.a)
LIBFICL= ${.OBJDIR}/../../ficl/libficl.a
.else
LIBFICL= ${.CURDIR}/../../ficl/libficl.a
.endif
-.else
-LIBFICL=
.endif
# where to get libstand from
OpenPOWER on IntegriCloud