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 Pass BOARDTYPE as a string to awin_mach...



details:   https://anonhg.NetBSD.org/src/rev/fd9126a69c59
branches:  trunk
changeset: 802458:fd9126a69c59
user:      martin <martin%NetBSD.org@localhost>
date:      Mon Sep 15 19:28:49 2014 +0000

description:
Pass BOARDTYPE as a string to awin_machdep.c

diffstat:

 sys/arch/evbarm/conf/mk.awin |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ef20e67ffdf0 -r fd9126a69c59 sys/arch/evbarm/conf/mk.awin
--- a/sys/arch/evbarm/conf/mk.awin      Mon Sep 15 19:02:38 2014 +0000
+++ b/sys/arch/evbarm/conf/mk.awin      Mon Sep 15 19:28:49 2014 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: mk.awin,v 1.2 2014/09/07 06:14:13 skrll Exp $
+#      $NetBSD: mk.awin,v 1.3 2014/09/15 19:28:49 martin Exp $
 CPPFLAGS+= -mcpu=cortex-a8 -mfpu=neon
 
 .if !empty(MACHINE_ARCH:M*eb)
@@ -8,7 +8,7 @@
 SYSTEM_FIRST_OBJ=      awin_start.o
 SYSTEM_FIRST_SFILE=    ${THISARM}/awin/awin_start.S
 
-CPPFLAGS.awin_machdep.c+=      -DBOARDTYPE=${BOARDTYPE}
+CPPFLAGS.awin_machdep.c+=      -DBOARDTYPE='"${BOARDTYPE}"'
 CPPFLAGS.awin_machdep.c+=      -DAWIN_board=AWIN_${BOARDTYPE}
 
 GENASSYM_EXTRAS+=      ${THISARM}/awin/genassym.cf



Home | Main Index | Thread Index | Old Index