Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/evbarm/conf If building for a PANDABOARD use -mcpu=...



details:   https://anonhg.NetBSD.org/src/rev/363a52cbafc8
branches:  trunk
changeset: 781147:363a52cbafc8
user:      matt <matt%NetBSD.org@localhost>
date:      Wed Aug 22 22:34:30 2012 +0000

description:
If building for a PANDABOARD use -mcpu=cortex-a9

diffstat:

 sys/arch/evbarm/conf/mk.beagle |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (14 lines):

diff -r 803ac593d0e0 -r 363a52cbafc8 sys/arch/evbarm/conf/mk.beagle
--- a/sys/arch/evbarm/conf/mk.beagle    Wed Aug 22 22:18:21 2012 +0000
+++ b/sys/arch/evbarm/conf/mk.beagle    Wed Aug 22 22:34:30 2012 +0000
@@ -1,5 +1,9 @@
-#      $NetBSD: mk.beagle,v 1.7 2012/08/20 12:44:31 matt Exp $
+#      $NetBSD: mk.beagle,v 1.8 2012/08/22 22:34:30 matt Exp $
+.if ${KERNEL_BUILD:T:MPANDA*} != ""
+CPPFLAGS+=             -mcpu=cortex-a9
+.else
 CPPFLAGS+=             -mcpu=cortex-a8
+.endif
 
 SYSTEM_FIRST_OBJ=      beagle_start.o
 SYSTEM_FIRST_SFILE=    ${THISARM}/beagle/beagle_start.S



Home | Main Index | Thread Index | Old Index