9dec52bfb2
parts of the configuration aren't duplicated, and arch-specific exceptions are made "in-place". Also clean up the FreeBSD/amd64 config a little.
21 lines
386 B
Makefile
21 lines
386 B
Makefile
# $FreeBSD$
|
|
|
|
TARGET_ARCH?= ${MACHINE_ARCH}
|
|
|
|
.if ${TARGET_ARCH} == "amd64"
|
|
GCC_CPU= i386
|
|
.elif ${TARGET_ARCH} == "powerpc"
|
|
GCC_CPU= rs6000
|
|
.elif ${TARGET_ARCH} == "sparc64"
|
|
GCC_CPU= sparc
|
|
.else
|
|
GCC_CPU= ${TARGET_ARCH}
|
|
.endif
|
|
|
|
.if ${TARGET_ARCH} == "ia64"
|
|
TARGET_CPU_DEFAULT= MASK_GNU_AS|MASK_GNU_LD
|
|
.endif
|
|
.if ${TARGET_ARCH} == "sparc64"
|
|
TARGET_CPU_DEFAULT= TARGET_CPU_ultrasparc
|
|
.endif
|