Source-Changes-HG archive

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

[src/trunk]: src/sys/arch explicitly add -marm



details:   https://anonhg.NetBSD.org/src/rev/9eb76fcd4cf3
branches:  trunk
changeset: 791105:9eb76fcd4cf3
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Nov 04 21:25:05 2013 +0000

description:
explicitly add -marm

diffstat:

 sys/arch/acorn26/stand/Makefile.buildboot    |  4 +++-
 sys/arch/acorn32/stand/Makefile.buildboot    |  4 +++-
 sys/arch/evbarm/stand/boot2440/Makefile      |  4 +++-
 sys/arch/evbarm/stand/bootimx23/Makefile     |  4 +++-
 sys/arch/evbarm/stand/gzboot/Makefile.gzboot |  6 ++++--
 5 files changed, 16 insertions(+), 6 deletions(-)

diffs (92 lines):

diff -r f6afcd84a79e -r 9eb76fcd4cf3 sys/arch/acorn26/stand/Makefile.buildboot
--- a/sys/arch/acorn26/stand/Makefile.buildboot Mon Nov 04 21:18:05 2013 +0000
+++ b/sys/arch/acorn26/stand/Makefile.buildboot Mon Nov 04 21:25:05 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.buildboot,v 1.18 2013/11/04 20:58:31 christos Exp $
+#      $NetBSD: Makefile.buildboot,v 1.19 2013/11/04 21:25:22 christos Exp $
 
 S?=    ${.CURDIR}/../../../..
 
@@ -36,6 +36,8 @@
 CPPFLAGS+=     -mabi=apcs-gnu -mfloat-abi=soft -march=armv2
 .if ${HAVE_GCC} < 48
 CPPFLAGS+=     -mno-thumb -mno-thumb-interwork
+.else
+CPPFLAGS+=     -marm
 .endif
 CFLAGS=                -O2
 CFLAGS+=       -ffreestanding -fno-unwind-tables
diff -r f6afcd84a79e -r 9eb76fcd4cf3 sys/arch/acorn32/stand/Makefile.buildboot
--- a/sys/arch/acorn32/stand/Makefile.buildboot Mon Nov 04 21:18:05 2013 +0000
+++ b/sys/arch/acorn32/stand/Makefile.buildboot Mon Nov 04 21:25:05 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.buildboot,v 1.18 2013/11/04 21:01:44 christos Exp $
+#      $NetBSD: Makefile.buildboot,v 1.19 2013/11/04 21:25:22 christos Exp $
 
 S?=    ${.CURDIR}/../../../..
 
@@ -46,6 +46,8 @@
 CPPFLAGS+=     -mabi=apcs-gnu -mfloat-abi=soft -march=armv3m
 .if ${HAVE_GCC} < 48
 CPPFLAGS+=     -mno-thumb -mno-thumb-interwork
+.else
+CPPFLAGS+=     -marm
 .endif
 CPUFLAGS=
 CFLAGS=                -O2
diff -r f6afcd84a79e -r 9eb76fcd4cf3 sys/arch/evbarm/stand/boot2440/Makefile
--- a/sys/arch/evbarm/stand/boot2440/Makefile   Mon Nov 04 21:18:05 2013 +0000
+++ b/sys/arch/evbarm/stand/boot2440/Makefile   Mon Nov 04 21:25:05 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.12 2013/11/04 21:18:05 christos Exp $
+#      $NetBSD: Makefile,v 1.13 2013/11/04 21:25:05 christos Exp $
 
 S=             ${.CURDIR}/../../../..
 
@@ -18,6 +18,8 @@
 CPPFLAGS+=     -march=armv4 -mabi=apcs-gnu -mfloat-abi=soft
 .if ${HAVE_GCC} < 48
 CPPFLAGS+=     -mno-thumb -mno-thumb-interwork
+.else
+CPPFLAGS+=     -marm
 .endif
 CPUFLAGS=
 DBG=           -Os
diff -r f6afcd84a79e -r 9eb76fcd4cf3 sys/arch/evbarm/stand/bootimx23/Makefile
--- a/sys/arch/evbarm/stand/bootimx23/Makefile  Mon Nov 04 21:18:05 2013 +0000
+++ b/sys/arch/evbarm/stand/bootimx23/Makefile  Mon Nov 04 21:25:05 2013 +0000
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.9 2013/11/04 21:18:05 christos Exp $
+# $Id: Makefile,v 1.10 2013/11/04 21:25:05 christos Exp $
 
 S=             ${.CURDIR}/../../../../
 PROG=          bootimx23
@@ -15,6 +15,8 @@
 CPPFLAGS+=     -mabi=apcs-gnu -mfloat-abi=soft
 .if ${HAVE_GCC} < 48
 CPPFLAGS+=     -mno-thumb -mno-thumb-interwork
+.else
+CPPFLAGS+=     -marm
 .endif
 #CPPFLAGS+=    -DDEBUG
 #CPPFLAGS+=    -DDIAGNOSTIC
diff -r f6afcd84a79e -r 9eb76fcd4cf3 sys/arch/evbarm/stand/gzboot/Makefile.gzboot
--- a/sys/arch/evbarm/stand/gzboot/Makefile.gzboot      Mon Nov 04 21:18:05 2013 +0000
+++ b/sys/arch/evbarm/stand/gzboot/Makefile.gzboot      Mon Nov 04 21:25:05 2013 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile.gzboot,v 1.26 2013/11/04 21:18:06 christos Exp $
+#      $NetBSD: Makefile.gzboot,v 1.27 2013/11/04 21:25:05 christos Exp $
 
 NOMAN=  # defined
 
@@ -39,7 +39,9 @@
 CPPFLAGS+= -mabi=apcs-gnu -mfloat-abi=soft
 .if ${HAVE_GCC} < 48
 CPPFLAGS+= -mno-thumb -mno-thumb-interwork
-.ebdif
+.else
+CPPFLAGS+= -marm
+.endif
 
 CPPFLAGS+= -D_STANDALONE
 



Home | Main Index | Thread Index | Old Index