24 lines
445 B
Makefile
24 lines
445 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} == "mips"
|
|
TARGET_CPU_DEFAULT= 16
|
|
.endif
|
|
.if ${TARGET_ARCH} == "sparc64"
|
|
TARGET_CPU_DEFAULT= TARGET_CPU_ultrasparc
|
|
.endif
|