aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2008-02-23 19:45:20 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2008-02-23 19:45:20 +0000
commit859baed9a9f5d2e3181d8a2f53c5030b455c1906 (patch)
treeea4af2970be65fc3368792766dab5029857ef73b /sys
parent8b4c4c1c722269b031e17c9c5fce585a1406318a (diff)
Notes
Diffstat (limited to 'sys')
-rw-r--r--sys/boot/powerpc/Makefile2
-rw-r--r--sys/boot/powerpc/uboot/Makefile14
2 files changed, 6 insertions, 10 deletions
diff --git a/sys/boot/powerpc/Makefile b/sys/boot/powerpc/Makefile
index 9caff2faddee..e1dab91c005b 100644
--- a/sys/boot/powerpc/Makefile
+++ b/sys/boot/powerpc/Makefile
@@ -1,5 +1,5 @@
# $FreeBSD$
-SUBDIR= ofw
+SUBDIR= ofw uboot
.include <bsd.subdir.mk>
diff --git a/sys/boot/powerpc/uboot/Makefile b/sys/boot/powerpc/uboot/Makefile
index 09b8f5d4d138..defac754c5d1 100644
--- a/sys/boot/powerpc/uboot/Makefile
+++ b/sys/boot/powerpc/uboot/Makefile
@@ -1,9 +1,10 @@
# $FreeBSD$
-PROG= loader
+PROG= ubldr
NEWVERSWHAT= "U-Boot loader" ${MACHINE_ARCH}
BINDIR?= /boot
INSTALLFLAGS= -b
+NO_MAN=
# Architecture-specific loader code
SRCS= start.S conf.c metadata.c vers.c
@@ -59,7 +60,7 @@ LIBFICL= ${.OBJDIR}/../../ficl/libficl.a
CFLAGS+= -I${.CURDIR}/../../common
CFLAGS+= -I.
-CLEANFILES+= vers.c loader.help
+CLEANFILES+= vers.c ${PROG}.help
CFLAGS+= -ffreestanding
@@ -84,16 +85,11 @@ LDADD= ${LIBFICL} ${LIBUBOOT} -lstand
vers.c: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version
sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT}
-loader.help: help.common help.uboot
+${PROG}.help: help.common help.uboot
cat ${.ALLSRC} | \
awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET}
.PATH: ${.CURDIR}/../../forth
-FILES= loader.help loader.4th support.4th loader.conf
-FILESDIR_loader.conf= /boot/defaults
-
-.if !exists(${DESTDIR}/boot/loader.rc)
-FILES+= loader.rc
-.endif
+FILES= ${PROG}.help
.include <bsd.prog.mk>