diff options
author | emaste <emaste@FreeBSD.org> | 2017-01-20 21:10:37 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2017-01-20 21:10:37 +0000 |
commit | 079422928fab5d570844346907d596d8f8ceefcf (patch) | |
tree | 3df809094bbe9d20651a6c87f754178d333313fd /sys/boot/arm | |
parent | 01f89b77024ef376089ab736a2278e0b52bf4dae (diff) | |
download | FreeBSD-src-079422928fab5d570844346907d596d8f8ceefcf.zip FreeBSD-src-079422928fab5d570844346907d596d8f8ceefcf.tar.gz |
MFC r310267: Deduplicate loader vers.c Makefile rules
The Makefile rule to create vers.c for loader version info was
previously duplicated in each of the various loader Makefiles.
Instead, share a common rule in Makefile.inc.
Sponsored by: The FreeBSD Foundation
Diffstat (limited to 'sys/boot/arm')
-rw-r--r-- | sys/boot/arm/uboot/Makefile | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/boot/arm/uboot/Makefile b/sys/boot/arm/uboot/Makefile index 8b4b8ca..a83d0d6 100644 --- a/sys/boot/arm/uboot/Makefile +++ b/sys/boot/arm/uboot/Makefile @@ -90,7 +90,7 @@ LIBFICL= ${.OBJDIR}/../../ficl/libficl.a CFLAGS+= -I${.CURDIR}/../../common CFLAGS+= -I. -CLEANFILES+= vers.c loader.help +CLEANFILES+= loader.help CFLAGS+= -ffreestanding -msoft-float @@ -117,9 +117,6 @@ LDADD= ${LIBFICL} ${LIBUBOOT} ${LIBFDT} ${LIBUBOOT_FDT} -lstand OBJS+= ${SRCS:N*.h:R:S/$/.o/g} -vers.c: ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version - sh ${.CURDIR}/../../common/newvers.sh ${.CURDIR}/version ${NEWVERSWHAT} - loader.help: help.common help.uboot ${.CURDIR}/../../fdt/help.fdt cat ${.ALLSRC} | \ awk -f ${.CURDIR}/../../common/merge_help.awk > ${.TARGET} |