From 183abe44fa3e98d75a809ebd3bbbfeec89c0dbca Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Sat, 27 Jul 2013 18:18:46 +0000 Subject: [PATCH] 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. --- sys/boot/arm/uboot/Makefile | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/sys/boot/arm/uboot/Makefile b/sys/boot/arm/uboot/Makefile index f2cf8ee358d..236e3f34dc1 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