summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2013-07-27 18:18:46 +0000
committerkientzle <kientzle@FreeBSD.org>2013-07-27 18:18:46 +0000
commit23ae15329510dce5461565cee4d8ae7e36ac9d15 (patch)
treed8f6b11cd88b62a89934ebf59d9cc5850b393cee
parentd872a65707c434e00ef9c818fd11e684e0e159ba (diff)
downloadFreeBSD-src-23ae15329510dce5461565cee4d8ae7e36ac9d15.zip
FreeBSD-src-23ae15329510dce5461565cee4d8ae7e36ac9d15.tar.gz
Install Forth infrastructure along with ubldr.
Note: loader.rc is installed as loader.rc.sample so that by default, none of this is actually used.
-rw-r--r--sys/boot/arm/uboot/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/sys/boot/arm/uboot/Makefile b/sys/boot/arm/uboot/Makefile
index f2cf8ee..236e3f3 100644
--- a/sys/boot/arm/uboot/Makefile
+++ b/sys/boot/arm/uboot/Makefile
@@ -134,7 +134,20 @@ ldscript.generated::
mv ldscript.generated.tmp ldscript.generated; \
fi
+.if !defined(LOADER_ONLY)
.PATH: ${.CURDIR}/../../forth
-FILES= loader.help
+FILES+= loader.help loader.4th support.4th loader.conf
+FILES+= screen.4th frames.4th beastie.4th
+FILES+= brand.4th check-password.4th color.4th delay.4th
+FILES+= menu.4th menu-commands.4th menusets.4th shortcuts.4th version.4th
+FILESDIR_loader.conf= /boot/defaults
+
+# Put sample loader.rc and menu.rc on disk but don't enable them
+# by default.
+FILES+= loader.rc
+FILESNAME_loader.rc= loader.rc.sample
+FILES+= menu.rc
+FILESNAME_menu.rc= menu.rc.sample
+.endif
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud