diff options
author | marcel <marcel@FreeBSD.org> | 2008-02-23 19:45:20 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2008-02-23 19:45:20 +0000 |
commit | c64ffce06ca80727502a4f1eda1792d2ab29d98e (patch) | |
tree | ea4af2970be65fc3368792766dab5029857ef73b /sys/boot/powerpc | |
parent | 3dbbb927c4c9b829869d8b511e83d90ef24aaf0f (diff) | |
download | FreeBSD-src-c64ffce06ca80727502a4f1eda1792d2ab29d98e.zip FreeBSD-src-c64ffce06ca80727502a4f1eda1792d2ab29d98e.tar.gz |
o Build and install the U-Boot loader as ubldr.
o Don't build/install the manual pages or configuration
files that are already installed by the OFW loader.
o Hook the U-Boot loader to the build.
Diffstat (limited to 'sys/boot/powerpc')
-rw-r--r-- | sys/boot/powerpc/Makefile | 2 | ||||
-rw-r--r-- | sys/boot/powerpc/uboot/Makefile | 14 |
2 files changed, 6 insertions, 10 deletions
diff --git a/sys/boot/powerpc/Makefile b/sys/boot/powerpc/Makefile index 9caff2f..e1dab91 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 09b8f5d..defac75 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> |