summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2015-09-19 03:53:37 +0000
committerbdrewery <bdrewery@FreeBSD.org>2015-09-19 03:53:37 +0000
commitf44f751406a8294792fcbb81fd4faf79cd067c90 (patch)
treeec3d682e03e1213a7ae2b33440a98121d5af341d /gnu
parent070dfcc90f89160e7ef412d7e85506c095cfc590 (diff)
downloadFreeBSD-src-f44f751406a8294792fcbb81fd4faf79cd067c90.zip
FreeBSD-src-f44f751406a8294792fcbb81fd4faf79cd067c90.tar.gz
Replace afterinstall: hack with FILES mechanism.
Sponsored by: EMC / Isilon Storage Division
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/binutils/ld/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/gnu/usr.bin/binutils/ld/Makefile b/gnu/usr.bin/binutils/ld/Makefile
index d0946f3..f6379e2 100644
--- a/gnu/usr.bin/binutils/ld/Makefile
+++ b/gnu/usr.bin/binutils/ld/Makefile
@@ -45,6 +45,12 @@ LDADD= ${DPADD}
CLEANDIRS+= ldscripts
CLEANFILES+= ldemul-list.h stringify.sed
+FILES= ${LDSCRIPTS:S|^|ldscripts/|}
+FILESOWN= ${LIBOWN}
+FILESGRP= ${LIBGRP}
+FILESMODE= ${LIBMODE}
+FILESDIR= ${SCRIPTDIR}
+
HOST= ${TARGET_TUPLE}
LIBSEARCHPATH= \"${TOOLS_PREFIX}/lib\":\"${TOOLS_PREFIX}/usr/lib\"
ELF_SCR_EXT= x xbn xc xd xdc xdw xn xr xs xsc xsw xu xw
@@ -66,10 +72,6 @@ ldemul-list.h:
stringify.sed:
ln -sf ${SRCDIR}/ld/emultempl/astring.sed ${.TARGET}
-afterinstall:
- ${INSTALL} -o ${LIBOWN} -g ${LIBGRP} -m ${LIBMODE} \
- ${LDSCRIPTS:S|^|ldscripts/|} ${DESTDIR}${SCRIPTDIR}
-
GENDIRDEPS_FILTER.host+= Nusr.bin/yacc
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud