Source-Changes-HG archive

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

[src/trunk]: src/share/mk Add the new MACHINE_ARCH of earm and earmeb (arm EA...



details:   https://anonhg.NetBSD.org/src/rev/3253252b09b0
branches:  trunk
changeset: 780739:3253252b09b0
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Aug 05 04:11:35 2012 +0000

description:
Add the new MACHINE_ARCH of earm and earmeb (arm EABI(AAPCS-LINUX)).

diffstat:

 share/mk/bsd.endian.mk |   3 ++-
 share/mk/bsd.own.mk    |  10 +++++++---
 2 files changed, 9 insertions(+), 4 deletions(-)

diffs (55 lines):

diff -r 6de467fdb8bf -r 3253252b09b0 share/mk/bsd.endian.mk
--- a/share/mk/bsd.endian.mk    Sun Aug 05 04:10:18 2012 +0000
+++ b/share/mk/bsd.endian.mk    Sun Aug 05 04:11:35 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.endian.mk,v 1.15 2008/01/09 11:26:14 simonb Exp $
+#      $NetBSD: bsd.endian.mk,v 1.16 2012/08/05 04:11:35 matt Exp $
 
 .if !defined(_BSD_ENDIAN_MK_)
 _BSD_ENDIAN_MK_=1
@@ -7,6 +7,7 @@
 
 .if ${MACHINE_ARCH} == "alpha" || \
     ${MACHINE_ARCH} == "arm" || \
+    ${MACHINE_ARCH} == "earm" || \
     ${MACHINE_ARCH} == "i386" || \
     ${MACHINE_ARCH} == "ia64" || \
     ${MACHINE_ARCH} == "vax" || \
diff -r 6de467fdb8bf -r 3253252b09b0 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Sun Aug 05 04:10:18 2012 +0000
+++ b/share/mk/bsd.own.mk       Sun Aug 05 04:11:35 2012 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.701 2012/07/19 15:16:31 macallan Exp $
+#      $NetBSD: bsd.own.mk,v 1.702 2012/08/05 04:11:35 matt Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -14,7 +14,7 @@
 #
 # CPU model, derived from MACHINE_ARCH
 #
-MACHINE_CPU=   ${MACHINE_ARCH:C/mipse[bl]/mips/:C/mips64e[bl]/mips/:C/sh3e[bl]/sh3/:S/m68000/m68k/:S/armeb/arm/:S/powerpc64/powerpc/}
+MACHINE_CPU=   ${MACHINE_ARCH:C/mipse[bl]/mips/:C/mips64e[bl]/mips/:C/sh3e[bl]/sh3/:S/m68000/m68k/:S/armeb/arm/:S/earm/arm/:S/earmeb/arm/:S/powerpc64/powerpc/}
 
 #
 # Subdirectory used below ${RELEASEDIR} when building a release
@@ -654,6 +654,8 @@
 # GNU sources and packages sometimes see architecture names differently.
 #
 GNU_ARCH.coldfire=m68k
+GNU_ARCH.earm=arm
+GNU_ARCH.earmeb=armeb
 GNU_ARCH.i386=i486
 GCC_CONFIG_ARCH.i386=i486
 GCC_CONFIG_TUNE.i386=nocona
@@ -668,7 +670,9 @@
 # In order to identify NetBSD to GNU packages, we sometimes need
 # an "elf" tag for historically a.out platforms.
 #
-.if (${MACHINE_GNU_ARCH} == "arm" || \
+.if ${MACHINE_ARCH} == "earm" || ${MACHINE_ARCH} == "earmeb"
+MACHINE_GNU_PLATFORM?=${MACHINE_GNU_ARCH}--netbsdelf-eabi
+.elif (${MACHINE_GNU_ARCH} == "arm" || \
      ${MACHINE_GNU_ARCH} == "armeb" || \
      ${MACHINE_ARCH} == "i386" || \
      ${MACHINE_CPU} == "m68k" || \



Home | Main Index | Thread Index | Old Index