Define build 'as' TARGET_BYTES_BIG_ENDIAN if "TARGET_BIG_ENDIAN" is defined.
This is needed for bi-sex architectures.
This commit is contained in:
parent
9fdecced07
commit
78b00795ef
@ -35,6 +35,9 @@ CFLAGS+= -DDEFAULT_ARCH=\"v9-64\"
|
||||
.else
|
||||
CFLAGS+= -DDEFAULT_ARCH=\"${BINUTILS_ARCH}\"
|
||||
.endif
|
||||
.if defined(TARGET_BIG_ENDIAN)
|
||||
CFLAGS+= -DTARGET_BYTES_BIG_ENDIAN=1
|
||||
.endif
|
||||
CFLAGS+= -DTARGET_CPU=\"${BINUTILS_ARCH}\"
|
||||
CFLAGS+= -DTARGET_CANONICAL=\"${TARGET_TUPLE}\"
|
||||
CFLAGS+= -DTARGET_ALIAS=\"${TARGET_TUPLE}\"
|
||||
|
Loading…
Reference in New Issue
Block a user