diff options
author | obrien <obrien@FreeBSD.org> | 2006-09-12 07:37:02 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2006-09-12 07:37:02 +0000 |
commit | 26e5f5c59e79daadf5ca581bba3723c7f318a529 (patch) | |
tree | c695e2087ee36bbcc14f4e9934b98b8ac6933be0 /gnu | |
parent | a43aa801ce68c5547c6e1175b113caeb4976f292 (diff) | |
download | FreeBSD-src-26e5f5c59e79daadf5ca581bba3723c7f318a529.zip FreeBSD-src-26e5f5c59e79daadf5ca581bba3723c7f318a529.tar.gz |
Default to big endian ARM if "TARGET_BIG_ENDIAN" is defined, and set an ARM
target default.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/usr.bin/cc/Makefile.tgt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/Makefile.tgt b/gnu/usr.bin/cc/Makefile.tgt index 6182b69..8d3e7b9 100644 --- a/gnu/usr.bin/cc/Makefile.tgt +++ b/gnu/usr.bin/cc/Makefile.tgt @@ -6,6 +6,10 @@ TARGET_ARCH?= ${MACHINE_ARCH} GCC_CPU= alpha .elif ${TARGET_ARCH} == "arm" GCC_CPU= arm +TARGET_CPU_DEFAULT= TARGET_CPU_xscale +.if defined(TARGET_BIG_ENDIAN) +CFLAGS+= -DTARGET_ENDIAN_DEFAULT=ARM_FLAG_BIG_END +.endif .elif ${TARGET_ARCH} == "i386" || ${TARGET_ARCH} == "amd64" GCC_CPU= i386 .elif ${TARGET_ARCH} == "ia64" |