Source-Changes-HG archive

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

[src/trunk]: src/share/mk Use m5407--netbsdelf for coldfire (Why not just use...



details:   https://anonhg.NetBSD.org/src/rev/6c5931cbfd2c
branches:  trunk
changeset: 788789:6c5931cbfd2c
user:      matt <matt%NetBSD.org@localhost>
date:      Fri Jul 19 16:52:44 2013 +0000

description:
Use m5407--netbsdelf for coldfire (Why not just use m5407--netbsd?  Because
gas will think that's a.out since internally it expands it to m68--netbsd
and that matches a.out)

diffstat:

 share/mk/bsd.own.mk |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (27 lines):

diff -r 33666cbd0a01 -r 6c5931cbfd2c share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Fri Jul 19 16:42:30 2013 +0000
+++ b/share/mk/bsd.own.mk       Fri Jul 19 16:52:44 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.738 2013/07/18 22:06:09 matt Exp $
+#      $NetBSD: bsd.own.mk,v 1.739 2013/07/19 16:52:44 matt Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -687,7 +687,7 @@
 #
 # GNU sources and packages sometimes see architecture names differently.
 #
-GNU_ARCH.coldfire=m68k
+GNU_ARCH.coldfire=m5407
 GNU_ARCH.earm=arm
 GNU_ARCH.earmeb=armeb
 GNU_ARCH.earmhf=arm
@@ -708,8 +708,6 @@
 #
 .if (!empty(MACHINE_ARCH:Mearm*))
 MACHINE_GNU_PLATFORM?=${MACHINE_GNU_ARCH}--netbsdelf-${MACHINE_ARCH:C/eb//:S/earm/eabi/}
-.elif ${MACHINE_ARCH} == "coldfire"
-MACHINE_GNU_PLATFORM?=${MACHINE_GNU_ARCH}--netbsdelf-coldfire
 .elif (${MACHINE_GNU_ARCH} == "arm" || \
      ${MACHINE_GNU_ARCH} == "armeb" || \
      ${MACHINE_ARCH} == "i386" || \



Home | Main Index | Thread Index | Old Index