Module Name: src
Committed By: martin
Date: Thu Oct 13 13:29:39 UTC 2016
Modified Files:
src/external/gpl3/binutils/usr.bin/ld: Makefile
Log Message:
Install the arm ldscripts for big endian variants too
To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/external/gpl3/binutils/usr.bin/ld/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/binutils/usr.bin/ld/Makefile
diff -u src/external/gpl3/binutils/usr.bin/ld/Makefile:1.24 src/external/gpl3/binutils/usr.bin/ld/Makefile:1.25
--- src/external/gpl3/binutils/usr.bin/ld/Makefile:1.24 Tue Oct 11 07:23:52 2016
+++ src/external/gpl3/binutils/usr.bin/ld/Makefile Thu Oct 13 13:29:39 2016
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2016/10/11 07:23:52 mrg Exp $
+# $NetBSD: Makefile,v 1.25 2016/10/13 13:29:39 martin Exp $
CPPFLAGS+= -I${.CURDIR}/arch/${BINUTILS_MACHINE_ARCH} \
-I${DIST}/ld \
@@ -94,8 +94,8 @@ e${f}.c: ${DIST}/ld/genscripts.sh ${.CUR
.if ${BINUTILS_MACHINE_ARCH} == "x86_64" || \
${BINUTILS_MACHINE_ARCH} == "sparc64" || \
- ${BINUTILS_MACHINE_ARCH} == "earm" || \
- ${BINUTILS_MACHINE_ARCH} == "arm" || \
+ !empty(BINUTILS_MACHINE_ARCH:Mearm*) || \
+ !empty(BINUTILS_MACHINE_ARCH:Marm*) || \
${BINUTILS_MACHINE_ARCH} == "aarch64" || \
!empty(BINUTILS_MACHINE_ARCH:Mmips64*)
FILES+= ${f}.x ${f}.xbn ${f}.xn ${f}.xr ${f}.xu
@@ -104,8 +104,8 @@ FILES+= ${f}.x ${f}.xbn ${f}.xn ${f}.xr
HAS_XS!= grep '^GENERATE_SHLIB_SCRIPT' ${DIST}/ld/emulparams/${f}.sh || echo
# XXX
#HAS_XC!= grep '^GENERATE_COMBRELOC_SCRIPT' ${DIST}/ld/emulparams/${f}.sh || echo
-.if ${BINUTILS_MACHINE_ARCH} == "earm" || \
- ${BINUTILS_MACHINE_ARCH} == "arm" || \
+.if !empty(BINUTILS_MACHINE_ARCH:Mearm*) || \
+ !empty(BINUTILS_MACHINE_ARCH:Marm*) || \
${BINUTILS_MACHINE_ARCH} == "aarch64"
HAS_XS= yes
.endif