e7d939bda2
This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan
24 lines
737 B
Makefile
24 lines
737 B
Makefile
# $FreeBSD$
|
|
|
|
# These assignments duplicate much of the functionality of
|
|
# MACHINE_CPUARCH, but there's no easy way to export make functions...
|
|
|
|
.if defined(TARGET_ARCH)
|
|
TARGET_CPUARCH=${TARGET_ARCH:C/mips(n32|64)?(el)?/mips/:C/arm(v6)?(eb|hf)?/arm/:C/powerpc64/powerpc/}
|
|
.else
|
|
TARGET_CPUARCH=${MACHINE_CPUARCH}
|
|
.endif
|
|
TARGET_ARCH?= ${MACHINE_ARCH}
|
|
GCC_CPU=${TARGET_CPUARCH:C/amd64/i386/:C/powerpc/rs6000/:C/sparc64/sparc/}
|
|
|
|
.if ${TARGET_ARCH} == "sparc64"
|
|
TARGET_CPU_DEFAULT= TARGET_CPU_ultrasparc
|
|
.endif
|
|
.if ${TARGET_ARCH} == "armeb" || ${TARGET_ARCH} == "armv6eb" || \
|
|
(${TARGET_CPUARCH} == "mips" && ${TARGET_ARCH:Mmips*el} == "")
|
|
TARGET_BIG_ENDIAN=t
|
|
.endif
|
|
.if ${TARGET_ARCH} == "powerpc64"
|
|
TARGET_CPU_DEFAULT= \"powerpc64\"
|
|
.endif
|