summaryrefslogtreecommitdiffstats
path: root/sys/boot
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1999-01-03 20:54:05 +0000
committermsmith <msmith@FreeBSD.org>1999-01-03 20:54:05 +0000
commitb4c6624855eeb918feb8b3b2bccb0be1565e91b0 (patch)
treebb76ca5e5f7b7972bc35a2bf702d09da23ed20f0 /sys/boot
parenta344fa1d6dba5a4695a45c184216511ec078bf81 (diff)
downloadFreeBSD-src-b4c6624855eeb918feb8b3b2bccb0be1565e91b0.zip
FreeBSD-src-b4c6624855eeb918feb8b3b2bccb0be1565e91b0.tar.gz
First cut at generating loader.help for the alpha
Diffstat (limited to 'sys/boot')
-rw-r--r--sys/boot/alpha/boot2/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/boot/alpha/boot2/Makefile b/sys/boot/alpha/boot2/Makefile
index 5ee39b9..6301f2c 100644
--- a/sys/boot/alpha/boot2/Makefile
+++ b/sys/boot/alpha/boot2/Makefile
@@ -46,6 +46,18 @@ ${BASE}.sym: ${OBJS} ${LIBSTAND} ${LIBALPHA} ${CRT} vers.o setdef0.o setdef1.o
${CRT} setdef0.o ${OBJS} setdef1.o \
vers.o ${LIBSTAND} ${LIBALPHA} ${LIBSTAND} >${.OBJDIR}/${BASE}.list
+${BASE}.help: help.common help.alpha
+ perl ${.CURDIR}/../../common/merge_help.pl ${.ALLSRC} > ${.TARGET}
+
+beforeinstall:
+.if exists(${.OBJDIR}/loader.help)
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${.OBJDIR}/${BASE}.help ${DESTDIR}/boot
+.else
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${.CURDIR}/${BASE}.help ${DESTDIR}/boot
+.endif
+
# Other fragments still to be brought in from ../Makfile.booters?
start.o: ${.CURDIR}/../libalpha/start.S
${CC} -c ${CFLAGS} $<
OpenPOWER on IntegriCloud