summaryrefslogtreecommitdiffstats
path: root/sys/boot/alpha
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2000-05-12 23:22:09 +0000
committerpeter <peter@FreeBSD.org>2000-05-12 23:22:09 +0000
commit5e99e25b759223064372aa8720c9b4da440669cb (patch)
treef08a6c4c2911be1b393cad9965b08e5c743f16ae /sys/boot/alpha
parent47463c514586e33e96d157d3af64cf56b09184d2 (diff)
downloadFreeBSD-src-5e99e25b759223064372aa8720c9b4da440669cb.zip
FreeBSD-src-5e99e25b759223064372aa8720c9b4da440669cb.tar.gz
Install the bootforth config files for the Alpha too. loader.conf should
be functional now.
Diffstat (limited to 'sys/boot/alpha')
-rw-r--r--sys/boot/alpha/common/Makefile.common17
-rw-r--r--sys/boot/alpha/loader/Makefile1
2 files changed, 18 insertions, 0 deletions
diff --git a/sys/boot/alpha/common/Makefile.common b/sys/boot/alpha/common/Makefile.common
index edde206..c809c08 100644
--- a/sys/boot/alpha/common/Makefile.common
+++ b/sys/boot/alpha/common/Makefile.common
@@ -39,6 +39,10 @@ CFLAGS+= -I${.CURDIR}/..
CRT= start.o
STRIP=
BINDIR?= /boot
+.ifdef INSTALL_FORTH
+MAN5= ../../forth/loader.conf.5
+MAN8= ../../i386/loader/loader.8 ../../forth/loader.4th.8
+.endif
all: ${BASE}
@@ -71,6 +75,19 @@ beforeinstall:
${.CURDIR}/${BASE}.help ${DESTDIR}/boot
.endif
.endif
+.ifdef INSTALL_FORTH
+.if !exists(${DESTDIR}/boot/loader.rc)
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${.CURDIR}/../../forth/loader.rc ${DESTDIR}/boot
+.endif
+ ${INSTALL} -C -o ${BINOWN} -g ${BINGRP} -m 444 \
+ ${.CURDIR}/../../forth/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 \
+ ${.CURDIR}/../../forth/loader.conf ${DESTDIR}/boot/defaults
+.endif
+
start.o: ${.CURDIR}/../libalpha/start.S
${CC} -c ${CFLAGS} $<
diff --git a/sys/boot/alpha/loader/Makefile b/sys/boot/alpha/loader/Makefile
index 470562d..757ab90 100644
--- a/sys/boot/alpha/loader/Makefile
+++ b/sys/boot/alpha/loader/Makefile
@@ -5,6 +5,7 @@ PROG= ${BASE}
NOMAN=
NEWVERSWHAT= "SRM disk boot" alpha
INSTALL_HELP= yes
+INSTALL_FORTH= yes
LOAD_ADDRESS= ${SECONDARY_LOAD_ADDRESS}
# Only disk support
OpenPOWER on IntegriCloud