mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Add a new make option, ARM_BIG_ENDIAN, to compile big endian kernels.
This commit is contained in:
parent
3d8e3adb3e
commit
949bf67b27
1 changed files with 6 additions and 0 deletions
|
|
@ -35,6 +35,12 @@ S= ../../..
|
|||
|
||||
SYSTEM_LD:= ${SYSTEM_LD:$S/conf/ldscript.$M=ldscript.$M}
|
||||
SYSTEM_DEP:= ${SYSTEM_DEP:$S/conf/ldscript.$M=ldscript.$M}
|
||||
|
||||
.if defined(ARM_BIG_ENDIAN)
|
||||
CC += -mbig-endian
|
||||
SYSTEM_LD += -EB
|
||||
.endif
|
||||
|
||||
%BEFORE_DEPEND
|
||||
|
||||
%OBJS
|
||||
|
|
|
|||
Loading…
Reference in a new issue