From fe7ce73a659d046d50a2023c8cca3ab12810bd7d Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 27 Dec 1999 09:20:33 +0000 Subject: Connect up the bootforth glue and compile it, but don't initialize it at runtime as it has a nasty habit of crashing on the Alpha :-(. This is being done this way so we have a common starting point for debugging. --- sys/boot/alpha/common/Makefile.common | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'sys/boot/alpha') diff --git a/sys/boot/alpha/common/Makefile.common b/sys/boot/alpha/common/Makefile.common index 3467d8f..fb2fc91 100644 --- a/sys/boot/alpha/common/Makefile.common +++ b/sys/boot/alpha/common/Makefile.common @@ -10,6 +10,16 @@ SRCS+= main.c conf.c SRCS+= dev_net.c .endif +# Enable BootForth +BOOT_FORTH= yes +CFLAGS+= -I${.CURDIR}/../../ficl -I${.CURDIR}/../../ficl/alpha +#CFLAGS+= -DBOOT_FORTH +.if exists(${.OBJDIR}/../../ficl/libficl.a) +LIBFICL= ${.OBJDIR}/../../ficl/libficl.a +.else +LIBFICL= ${.CURDIR}/../../ficl/libficl.a +.endif + # Always add MI sources .PATH: ${.CURDIR}/../../common .include <${.CURDIR}/../../common/Makefile.inc> @@ -39,11 +49,11 @@ vers.o: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${BASE}: ${BASE}.sym ${BASE}.help objcopy -O binary ${BASE}.sym ${BASE} -${BASE}.sym: ${OBJS} ${LIBSTAND} ${LIBALPHA} ${CRT} vers.o setdef0.o setdef1.o +${BASE}.sym: ${OBJS} ${LIBSTAND} ${LIBFICL} ${LIBALPHA} ${CRT} vers.o setdef0.o setdef1.o ${LD} -o ${BASE}.sym -M -e start -N -Ttext ${LOAD_ADDRESS} \ ${CRT} setdef0.o ${OBJS} setdef1.o vers.o \ - -L${DESTDIR}${LIBDIR} ${LIBSTAND} ${LIBALPHA} ${LIBSTAND} \ - > ${.OBJDIR}/${BASE}.list + -L${DESTDIR}${LIBDIR} ${LIBSTAND} ${LIBALPHA} ${LIBFICL} ${LIBSTAND} \ + >${.OBJDIR}/${BASE}.list ${BASE}.help: help.common help.alpha cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET} -- cgit v1.1