diff options
author | peter <peter@FreeBSD.org> | 1999-12-27 09:20:33 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1999-12-27 09:20:33 +0000 |
commit | fe7ce73a659d046d50a2023c8cca3ab12810bd7d (patch) | |
tree | 96c9d275a67f9e34dc297027a99adfe630cb6560 /sys/boot/alpha | |
parent | 8f93614b09b945a31f4d411c1b37ffbeb127f78f (diff) | |
download | FreeBSD-src-fe7ce73a659d046d50a2023c8cca3ab12810bd7d.zip FreeBSD-src-fe7ce73a659d046d50a2023c8cca3ab12810bd7d.tar.gz |
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.
Diffstat (limited to 'sys/boot/alpha')
-rw-r--r-- | sys/boot/alpha/common/Makefile.common | 16 |
1 files changed, 13 insertions, 3 deletions
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} |