summaryrefslogtreecommitdiffstats
path: root/share/mk/bsd.cpu.mk
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2010-11-10 06:39:49 +0000
committerimp <imp@FreeBSD.org>2010-11-10 06:39:49 +0000
commitc178b8695e0a2f8e804cfdcc8a6e36acd75ce462 (patch)
tree66f7378017237448004ad6765033bea991903730 /share/mk/bsd.cpu.mk
parent875749fff1e37b1202073b4f4d9f27053e87a096 (diff)
downloadFreeBSD-src-c178b8695e0a2f8e804cfdcc8a6e36acd75ce462.zip
FreeBSD-src-c178b8695e0a2f8e804cfdcc8a6e36acd75ce462.tar.gz
Complete the integration of tbemd branch into head.
TARGET_BIG_ENDIAN is now completely dead, except where it was originally supposed to be used (internally in the toolchain building). TARGET_ARCH has changed in three cases: (1) Little endian mips has changed to mipsel. (2) Big endian mips has changed to mipseb. (3) Big endian arm has changed to armeb. Some additional changes are needed to make 'make universe' work on arm and mips after this change, so those are commented out for now. UPDATING information will be forthcoming. Any remaining rough edges will be hammered out in -current.
Diffstat (limited to 'share/mk/bsd.cpu.mk')
-rw-r--r--share/mk/bsd.cpu.mk8
1 files changed, 1 insertions, 7 deletions
diff --git a/share/mk/bsd.cpu.mk b/share/mk/bsd.cpu.mk
index 93d8bc4..5795e95 100644
--- a/share/mk/bsd.cpu.mk
+++ b/share/mk/bsd.cpu.mk
@@ -114,7 +114,7 @@ _CPUCFLAGS = -march=armv5te -D__XSCALE__
. else
_CPUCFLAGS = -mcpu=${CPUTYPE}
. endif
-. elif ${MACHINE_ARCH} == "powerpc"
+. elif ${MACHINE_CPUARCH} == "powerpc"
. if ${CPUTYPE} == "e500"
MACHINE_CPU = booke
_CPUCFLAGS = -Wa,-me500 -msoft-float
@@ -196,12 +196,6 @@ MACHINE_CPU = itanium
. endif
.endif
-.if ${MACHINE_CPUARCH} == "arm" && defined(TARGET_BIG_ENDIAN)
-CFLAGS += -mbig-endian
-LDFLAGS += -mbig-endian
-LD += -EB
-.endif
-
.if ${MACHINE_CPUARCH} == "mips"
CFLAGS += -G0
.endif
OpenPOWER on IntegriCloud