Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/share/mk Add 3 more MACHINE_ARCH: earmv4 earmv7eb earmv7hfeb
details: https://anonhg.NetBSD.org/src/rev/801337f61468
branches: trunk
changeset: 789037:801337f61468
user: matt <matt%NetBSD.org@localhost>
date: Mon Aug 05 00:21:50 2013 +0000
description:
Add 3 more MACHINE_ARCH: earmv4 earmv7eb earmv7hfeb
The latter are for cortex big-endian which uses a different binary format
than previous arm big endian platforms.
diffstat:
share/mk/bsd.own.mk | 11 +++++++----
1 files changed, 7 insertions(+), 4 deletions(-)
diffs (41 lines):
diff -r ca04e557f9f1 -r 801337f61468 share/mk/bsd.own.mk
--- a/share/mk/bsd.own.mk Mon Aug 05 00:17:52 2013 +0000
+++ b/share/mk/bsd.own.mk Mon Aug 05 00:21:50 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.own.mk,v 1.740 2013/07/27 11:13:57 skrll Exp $
+# $NetBSD: bsd.own.mk,v 1.741 2013/08/05 00:21:50 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/coldfire/m68k/:S/m68000/m68k/:S/armeb/arm/:C/earm.*/arm/:S/earm/arm/:S/powerpc64/powerpc/}
+MACHINE_CPU= ${MACHINE_ARCH:C/mipse[bl]/mips/:C/mips64e[bl]/mips/:C/sh3e[bl]/sh3/:S/coldfire/m68k/:S/m68000/m68k/:S/arm.*/arm/:C/earm.*/arm/:S/earm/arm/:S/powerpc64/powerpc/}
#
# Subdirectory used below ${RELEASEDIR} when building a release
@@ -690,9 +690,12 @@
#
GNU_ARCH.coldfire=m5407
GNU_ARCH.earm=arm
+GNU_ARCH.earmhf=arm
GNU_ARCH.earmeb=armeb
-GNU_ARCH.earmhf=arm
GNU_ARCH.earmhfeb=armeb
+GNU_ARCH.earmv4=armv4
+GNU_ARCH.earmv7eb=armv7eb
+GNU_ARCH.earmv7hfeb=armv7eb
GNU_ARCH.i386=i486
GCC_CONFIG_ARCH.i386=i486
GCC_CONFIG_TUNE.i386=nocona
@@ -708,7 +711,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//:S/earm/eabi/}
+MACHINE_GNU_PLATFORM?=${MACHINE_GNU_ARCH}--netbsdelf-${MACHINE_ARCH:C/eb//:C/v7//:S/earm/eabi/}
.elif (${MACHINE_GNU_ARCH} == "arm" || \
${MACHINE_GNU_ARCH} == "armeb" || \
${MACHINE_ARCH} == "i386" || \
Home |
Main Index |
Thread Index |
Old Index