Pass BOARDTYPE as a string to awin_machdep.c
This commit is contained in:
parent
df48ab1cef
commit
61ee040607
@ -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 @@ EXTRA_LINKFLAGS+= --be8
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user