summaryrefslogtreecommitdiffstats
path: root/sys/conf/Makefile.mips
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 /sys/conf/Makefile.mips
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 'sys/conf/Makefile.mips')
-rw-r--r--sys/conf/Makefile.mips17
1 files changed, 0 insertions, 17 deletions
diff --git a/sys/conf/Makefile.mips b/sys/conf/Makefile.mips
index 6291d6c..57e1dfe 100644
--- a/sys/conf/Makefile.mips
+++ b/sys/conf/Makefile.mips
@@ -32,9 +32,6 @@ LDSCRIPT_NAME?=ldscript.$M
SYSTEM_LD:= ${SYSTEM_LD:$S/conf/${LDSCRIPT_NAME}=${LDSCRIPT_NAME}}
SYSTEM_DEP:= ${SYSTEM_DEP:$S/conf/${LDSCRIPT_NAME}=${LDSCRIPT_NAME}}
-# XXX: Such sweeping assumptions...
-MACHINE=mips
-MACHINE_ARCH=mips
KERNLOADADDR?=0x80001000
# This obscure value is defined by CFE for WR160N
# To be changed later
@@ -48,20 +45,6 @@ ARCH_FLAGS?=-march=mips32
EXTRA_FLAGS=-fno-pic -mno-abicalls -G0
HACK_EXTRA_FLAGS=-shared
-.if defined(TARGET_BIG_ENDIAN)
-CFLAGS+=-EB
-SYSTEM_LD+=-EB
-EXTRA_FLAGS+=-EB
-TRAMP_LDFLAGS+=-Wl,-EB
-HACK_EXTRA_FLAGS+=-EB -Wl,-EB
-.else
-CFLAGS+=-EL
-SYSTEM_LD+=-EL
-EXTRA_FLAGS+=-EL
-TRAMP_LDFLAGS+=-Wl,-EL
-HACK_EXTRA_FLAGS+=-EL -Wl,-EL
-.endif
-
# We add the -fno-pic flag to kernels because otherwise performance
# is extremely poor, as well as -mno-abicalls to force no ABI usage.
OpenPOWER on IntegriCloud