Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/binutils/usr.bin/ld Install the arm ldscripts ...



details:   https://anonhg.NetBSD.org/src/rev/3d1b6ee47684
branches:  trunk
changeset: 348284:3d1b6ee47684
user:      martin <martin%NetBSD.org@localhost>
date:      Thu Oct 13 13:29:39 2016 +0000

description:
Install the arm ldscripts for big endian variants too

diffstat:

 external/gpl3/binutils/usr.bin/ld/Makefile |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (31 lines):

diff -r 693e116b28a7 -r 3d1b6ee47684 external/gpl3/binutils/usr.bin/ld/Makefile
--- a/external/gpl3/binutils/usr.bin/ld/Makefile        Thu Oct 13 13:04:02 2016 +0000
+++ b/external/gpl3/binutils/usr.bin/ld/Makefile        Thu Oct 13 13:29:39 2016 +0000
@@ -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 @@
 
 .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 @@
 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



Home | Main Index | Thread Index | Old Index