Source-Changes-HG archive

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

[src/trunk]: src/share/mk Add GNU_ARCH for earmv4eb, earmv5, earmv5eb, earmv6...



details:   https://anonhg.NetBSD.org/src/rev/85a00551a909
branches:  trunk
changeset: 789070:85a00551a909
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Aug 06 05:46:26 2013 +0000

description:
Add GNU_ARCH for earmv4eb, earmv5, earmv5eb, earmv6, earmv6hf, earmv6eb,
earmv6hfeb, earmv7, earmv7hf

diffstat:

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

diffs (34 lines):

diff -r b065b9e2a0ef -r 85a00551a909 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk       Tue Aug 06 05:42:43 2013 +0000
+++ b/share/mk/bsd.own.mk       Tue Aug 06 05:46:26 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.own.mk,v 1.741 2013/08/05 00:21:50 matt Exp $
+#      $NetBSD: bsd.own.mk,v 1.742 2013/08/06 05:46:26 matt Exp $
 
 # This needs to be before bsd.init.mk
 .if defined(BSD_MK_COMPAT_FILE)
@@ -694,6 +694,15 @@
 GNU_ARCH.earmeb=armeb
 GNU_ARCH.earmhfeb=armeb
 GNU_ARCH.earmv4=armv4
+GNU_ARCH.earmv4eb=armv4eb
+GNU_ARCH.earmv5=arm
+GNU_ARCH.earmv5eb=armeb
+GNU_ARCH.earmv6=armv6
+GNU_ARCH.earmv6hf=armv6
+GNU_ARCH.earmv6eb=armv6eb
+GNU_ARCH.earmv6hfeb=armv6eb
+GNU_ARCH.earmv7=armv7
+GNU_ARCH.earmv7hf=armv7
 GNU_ARCH.earmv7eb=armv7eb
 GNU_ARCH.earmv7hfeb=armv7eb
 GNU_ARCH.i386=i486
@@ -711,7 +720,7 @@
 # an "elf" tag for historically a.out platforms.
 #
 .if (!empty(MACHINE_ARCH:Mearm*))
-MACHINE_GNU_PLATFORM?=${MACHINE_GNU_ARCH}--netbsdelf-${MACHINE_ARCH:C/eb//:C/v7//:S/earm/eabi/}
+MACHINE_GNU_PLATFORM?=${MACHINE_GNU_ARCH}--netbsdelf-${MACHINE_ARCH:C/eb//:C/v[4-7]//:S/earm/eabi/}
 .elif (${MACHINE_GNU_ARCH} == "arm" || \
      ${MACHINE_GNU_ARCH} == "armeb" || \
      ${MACHINE_ARCH} == "i386" || \



Home | Main Index | Thread Index | Old Index