1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-05 09:14:03 +00:00

Default to big endian ARM if "TARGET_BIG_ENDIAN" is defined, and set an ARM

target default.
This commit is contained in:
David E. O'Brien 2006-09-12 07:37:02 +00:00
parent 124866d539
commit 8d60fe4054
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=162246

View File

@ -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"