summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.arm
diff options
context:
space:
mode:
authorcognet <cognet@FreeBSD.org>2005-01-19 16:43:43 +0000
committercognet <cognet@FreeBSD.org>2005-01-19 16:43:43 +0000
commit91cec8c109d11b0b969effab2c7e7eabd01ed8ae (patch)
tree634163100c3cf9750052351280454a5df500b853 /sys/conf/Makefile.arm
parent2a66290389228a6464cdc8d8d4204da1feb04aad (diff)
downloadFreeBSD-src-91cec8c109d11b0b969effab2c7e7eabd01ed8ae.zip
FreeBSD-src-91cec8c109d11b0b969effab2c7e7eabd01ed8ae.tar.gz
Add a new make option, ARM_BIG_ENDIAN, to compile big endian kernels.
Diffstat (limited to 'sys/conf/Makefile.arm')
-rw-r--r--sys/conf/Makefile.arm6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm
index 9fb1ebe..ca12fe6 100644
--- a/sys/conf/Makefile.arm
+++ b/sys/conf/Makefile.arm
@@ -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
OpenPOWER on IntegriCloud