aboutsummaryrefslogtreecommitdiff
path: root/sys/boot/alpha
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-05-28 05:18:13 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-05-28 05:18:13 +0000
commit6baccdc4da1363cedb35a4d7636501d0934cd965 (patch)
tree3de71dc9da9d35d8a0068cd5650001a916d220fa /sys/boot/alpha
parentb4cb7636c9bdc9abeb39b712ae4182677b0459ea (diff)
downloadsrc-6baccdc4da1363cedb35a4d7636501d0934cd965.tar.gz
src-6baccdc4da1363cedb35a4d7636501d0934cd965.zip
grep -v offending lines from loader.4th until the master version of it
is fixed.
Notes
Notes: svn path=/head/; revision=77297
Diffstat (limited to 'sys/boot/alpha')
-rw-r--r--sys/boot/alpha/common/Makefile.common8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/boot/alpha/common/Makefile.common b/sys/boot/alpha/common/Makefile.common
index 72f8be27d731..ccfbbdc142f4 100644
--- a/sys/boot/alpha/common/Makefile.common
+++ b/sys/boot/alpha/common/Makefile.common
@@ -40,7 +40,7 @@ CRT= start.o
STRIP=
BINDIR?= /boot
-all: ${BASE}
+all: ${BASE} ${.OBJDIR}/loader.4th
vers.o: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version
sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
@@ -59,6 +59,10 @@ CLEANFILES+= ${BASE}.help
${BASE}.help: help.common help.alpha
cat ${.ALLSRC} | awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}
+CLEANFILES+= ${.OBJDIR}/loader.4th
+${.OBJDIR}/loader.4th: ${.CURDIR}/../../forth/loader.4th
+ grep -v 'dict' ${.ALLSRC} > ${.TARGET}
+
beforeinstall:
.if exists(${DESTDIR}/boot/${BASE})
mv ${DESTDIR}/boot/${BASE} ${DESTDIR}/boot/${BASE}.old
@@ -77,7 +81,7 @@ beforeinstall:
${.CURDIR}/../../forth/loader.rc ${DESTDIR}/boot
.endif
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
- ${.CURDIR}/../../forth/loader.4th ${DESTDIR}/boot
+ ${.OBJDIR}/loader.4th ${DESTDIR}/boot
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
${.CURDIR}/../../forth/support.4th ${DESTDIR}/boot
${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \