Module Name: src
Committed By: maya
Date: Wed Feb 22 13:14:45 UTC 2017
Modified Files:
src/sys/arch/evbarm/stand/boot2440: Makefile
src/sys/arch/evbarm/stand/bootimx23: Makefile
Log Message:
Get rid of more -mno-thumb -mno-thumb-interwork for GCC < 4.8
To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 src/sys/arch/evbarm/stand/boot2440/Makefile
cvs rdiff -u -r1.14 -r1.15 src/sys/arch/evbarm/stand/bootimx23/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/evbarm/stand/boot2440/Makefile
diff -u src/sys/arch/evbarm/stand/boot2440/Makefile:1.16 src/sys/arch/evbarm/stand/boot2440/Makefile:1.17
--- src/sys/arch/evbarm/stand/boot2440/Makefile:1.16 Sun Jan 12 15:26:28 2014
+++ src/sys/arch/evbarm/stand/boot2440/Makefile Wed Feb 22 13:14:45 2017
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2014/01/12 15:26:28 tsutsui Exp $
+# $NetBSD: Makefile,v 1.17 2017/02/22 13:14:45 maya Exp $
S= ${.CURDIR}/../../../..
@@ -16,11 +16,7 @@ CPPFLAGS+= -DDM9000MAC="0x08,0x08,0x11,0
CPPFLAGS+= -DDEFAULT_BOOTFILE="ld0a:netbsd;net:"
CPPFLAGS+= -nostdinc -I. -I${.OBJDIR} -I${S} -I${S}/arch
CPPFLAGS+= -march=armv4 ${ARM_APCS_FLAGS}
-.if ${HAVE_LLVM:Uno} != "no" || ${HAVE_GCC:U0} >= 48
CPPFLAGS+= -marm
-.else
-CPPFLAGS+= -mno-thumb -mno-thumb-interwork
-.endif
CPUFLAGS=
DBG= -Os
Index: src/sys/arch/evbarm/stand/bootimx23/Makefile
diff -u src/sys/arch/evbarm/stand/bootimx23/Makefile:1.14 src/sys/arch/evbarm/stand/bootimx23/Makefile:1.15
--- src/sys/arch/evbarm/stand/bootimx23/Makefile:1.14 Tue Jul 22 17:46:59 2014
+++ src/sys/arch/evbarm/stand/bootimx23/Makefile Wed Feb 22 13:14:45 2017
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.14 2014/07/22 17:46:59 bouyer Exp $
+# $Id: Makefile,v 1.15 2017/02/22 13:14:45 maya Exp $
S= ${.CURDIR}/../../../../
PROG= bootimx23
@@ -13,11 +13,7 @@ CPPFLAGS+= -D_STANDALONE -DMEMSIZE=64
CPPFLAGS+= -DKERNEL_BOOT_ARGS=\"root=ld0a\"
CPPFLAGS+= -nostdinc -I. -I${.CURDIR} -I${.OBJDIR} -I${S} -I${S}/arch
CPPFLAGS+= ${ARM_APCS_FLAGS}
-.if ${HAVE_LLVM:Uno} != "no" || ${HAVE_GCC:U0} >= 48
CPPFLAGS+= -marm
-.else
-CPPFLAGS+= -mno-thumb -mno-thumb-interwork
-.endif
#CPPFLAGS+= -DDEBUG
#CPPFLAGS+= -DDIAGNOSTIC
DBG= -g