Module Name:    src
Committed By:   matt
Date:           Fri Jul 19 16:52:44 UTC 2013

Modified Files:
        src/share/mk: bsd.own.mk

Log Message:
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)


To generate a diff of this commit:
cvs rdiff -u -r1.738 -r1.739 src/share/mk/bsd.own.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/mk/bsd.own.mk
diff -u src/share/mk/bsd.own.mk:1.738 src/share/mk/bsd.own.mk:1.739
--- src/share/mk/bsd.own.mk:1.738	Thu Jul 18 22:06:09 2013
+++ src/share/mk/bsd.own.mk	Fri Jul 19 16:52:44 2013
@@ -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 @@ SHLIB_VERSION_FILE?= ${.CURDIR}/shlib_ve
 #
 # 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 @@ MACHINE_GNU_ARCH=${GNU_ARCH.${MACHINE_AR
 #
 .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" || \

Reply via email to