Supply the --be8 if building a big endian kernel.
This commit is contained in:
parent
025f5473db
commit
dc923a1209
@ -1,7 +1,11 @@
|
||||
# $NetBSD: mk.bcm53xx,v 1.2 2012/12/08 07:05:23 matt Exp $
|
||||
# $NetBSD: mk.bcm53xx,v 1.3 2013/08/04 00:58:47 matt Exp $
|
||||
CPPFLAGS+= -mcpu=cortex-a9 -mfpu=neon
|
||||
#CPPFLAGS+= -mabi=aapcs-linux -Wa,-meabi=4
|
||||
|
||||
.if !empty(MACHINE_ARCH:M*eb)
|
||||
EXTRA_LINKFLAGS+= --be8
|
||||
.endif
|
||||
|
||||
SYSTEM_FIRST_OBJ= bcm53xx_start.o
|
||||
SYSTEM_FIRST_SFILE= ${THISARM}/bcm53xx/bcm53xx_start.S
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user