summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1998-11-04 00:30:47 +0000
committermsmith <msmith@FreeBSD.org>1998-11-04 00:30:47 +0000
commit8c52bcabbc2eba4287ebaa2863082d149e791498 (patch)
tree3895b926ebdf70e268c1aaa149a16dd059e446c5 /sys/boot
parente8cf5aa8c56c8001ed5b20feca97816716a02b8a (diff)
downloadFreeBSD-src-8c52bcabbc2eba4287ebaa2863082d149e791498.zip
FreeBSD-src-8c52bcabbc2eba4287ebaa2863082d149e791498.tar.gz
Add required parts for BootForth building (currently disabled and
untested). Only suitable for i386 at the moment, as we are missing setjmp/longjmp on the Alpha.
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/i386/loader/Makefile15
1 files changed, 10 insertions, 5 deletions
diff --git a/sys/boot/i386/loader/Makefile b/sys/boot/i386/loader/Makefile
index d99154f..f072b01 100644
--- a/sys/boot/i386/loader/Makefile
+++ b/sys/boot/i386/loader/Makefile
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.14 1998/10/22 20:23:58 msmith Exp $
+# $Id: Makefile,v 1.15 1998/10/23 22:32:27 msmith Exp $
BASE= loader
PROG= ${BASE}
@@ -14,6 +14,11 @@ SRCS= main.c conf.c
HAVE_PNP= yes
HAVE_ISABUS= yes
+# Enable BootForth
+#BOOT_FORTH= yes
+#CFLAGS+= -DBOOT_FORTH -I${.CURDIR}/../../ficl
+#LIBFICL= ${.CURDIR}/../../ficl/libficl.a
+
# Always add MI sources
.PATH: ${.CURDIR}/../../common
.include <${.CURDIR}/../../common/Makefile.inc>
@@ -52,8 +57,8 @@ CFLAGS+= -elf
CFLAGS+= -DNEW_LINKER_SET
# Debug me!
-#CFLAGS+= -g
-#LDFLAGS+= -g
+CFLAGS+= -g
+LDFLAGS+= -g
vers.o:
sh ${.CURDIR}/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
@@ -70,9 +75,9 @@ ${BASE}.bin: ${BASE}.sym
# Cannot use ${OBJS} above this line
.include <bsd.prog.mk>
-${BASE}.sym: ${OBJS} ${LIBI386} vers.o
+${BASE}.sym: ${OBJS} ${LIBI386} ${LIBSTAND} ${LIBFICL} vers.o
${CC} ${LDFLAGS} -o ${.TARGET} ${BTXCRT} ${OBJS} vers.o \
- ${LIBSTAND} ${LIBI386} ${LIBSTAND}
+ ${LIBFICL} ${LIBSTAND} ${LIBI386} ${LIBSTAND}
# If it's not there, don't consider it a target
.if exists(${.CURDIR}/../../../i386/include)
OpenPOWER on IntegriCloud