Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/evbarm/stand/bootimx23 Override CPUFLAGS for compil...
details: https://anonhg.NetBSD.org/src/rev/e2393dbb9ef4
branches: trunk
changeset: 797569:e2393dbb9ef4
user: bouyer <bouyer%NetBSD.org@localhost>
date: Tue Jul 22 17:46:59 2014 +0000
description:
Override CPUFLAGS for compiler cpu-specific options, instead of appening
to CFLAGS. This allows the user to define CPUFLAGS without breaking the
build.
diffstat:
sys/arch/evbarm/stand/bootimx23/Makefile | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r abaaa89aa883 -r e2393dbb9ef4 sys/arch/evbarm/stand/bootimx23/Makefile
--- a/sys/arch/evbarm/stand/bootimx23/Makefile Tue Jul 22 17:25:19 2014 +0000
+++ b/sys/arch/evbarm/stand/bootimx23/Makefile Tue Jul 22 17:46:59 2014 +0000
@@ -1,4 +1,4 @@
-# $Id: Makefile,v 1.13 2014/01/12 15:26:29 tsutsui Exp $
+# $Id: Makefile,v 1.14 2014/07/22 17:46:59 bouyer Exp $
S= ${.CURDIR}/../../../../
PROG= bootimx23
@@ -8,7 +8,7 @@
CLEANFILES+= ${PROG}
CFLAGS+= -Wall -Wno-main -ffreestanding -fno-unwind-tables
-CFLAGS+= -march=armv5te -mtune=arm926ej-s
+CPUFLAGS= -march=armv5te -mtune=arm926ej-s
CPPFLAGS+= -D_STANDALONE -DMEMSIZE=64
CPPFLAGS+= -DKERNEL_BOOT_ARGS=\"root=ld0a\"
CPPFLAGS+= -nostdinc -I. -I${.CURDIR} -I${.OBJDIR} -I${S} -I${S}/arch
Home |
Main Index |
Thread Index |
Old Index