If you build a compiler with TARGET_BIG_ENDIAN, and then try to build
a little endian kernel, things break. Be explicit about the endian choice by setting it in the little endian case as well.
This commit is contained in:
parent
c416972587
commit
8d3e1f8f7a
@ -40,6 +40,10 @@ SYSTEM_DEP:= ${SYSTEM_DEP:$S/conf/ldscript.$M=ldscript.$M}
|
||||
CC += -mbig-endian
|
||||
SYSTEM_LD += -EB
|
||||
LD += -EB
|
||||
.else
|
||||
CC += -mlittle-endian
|
||||
SYSTEM_LD += -EL
|
||||
LD += -EL
|
||||
.endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user