summaryrefslogtreecommitdiff
path: root/util/xcompile
diff options
context:
space:
mode:
authorJulius Werner <jwerner@chromium.org>2019-08-16 15:35:39 -0700
committerPatrick Georgi <pgeorgi@google.com>2019-11-20 10:10:48 +0000
commitf96d9051c2b39544300d35f64ce92502e1e230c0 (patch)
tree141966be0dedd056261528e55e05efde4b20b56d /util/xcompile
parent63c444a69b98bc8a86719699423b3273cc5759e8 (diff)
downloadcoreboot-f96d9051c2b39544300d35f64ce92502e1e230c0.tar.xz
Remove MIPS architecture
The MIPS architecture port has been added 5+ years ago in order to support a Chrome OS project that ended up going nowhere. No other board has used it since and nobody is still willing or has the expertise and hardware to maintain it. We have decided that it has become too much of a mainenance burden and the chance of anyone ever reviving it seems too slim at this point. This patch eliminates all MIPS code and MIPS-specific hacks. Change-Id: I5e49451cd055bbab0a15dcae5f53e0172e6e2ebe Signed-off-by: Julius Werner <jwerner@chromium.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/34919 Reviewed-by: Arthur Heymans <arthur@aheymans.xyz> Reviewed-by: Hung-Te Lin <hungte@chromium.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'util/xcompile')
-rwxr-xr-xutil/xcompile/xcompile20
1 files changed, 1 insertions, 19 deletions
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile
index 2d3da1e00e..f3400fef49 100755
--- a/util/xcompile/xcompile
+++ b/util/xcompile/xcompile
@@ -195,14 +195,6 @@ detect_special_flags() {
"$LDFLAGS --fix-cortex-a53-843419" && \
LDFLAGS_ARM64_A53_ERRATUM_843419+=" --fix-cortex-a53-843419"
;;
- mipsel)
- testcc "$GCC" "$CFLAGS_GCC -mno-abicalls -fno-pic" && \
- CFLAGS_GCC+=" -mno-abicalls -fno-pic"
-
- # Enforce little endian mode.
- testcc "$GCC" "$CFLAGS_GCC -EL" && \
- CFLAGS_GCC+=" -EL"
- ;;
esac
}
@@ -314,7 +306,7 @@ EOF
}
# Architecture definitions
-SUPPORTED_ARCHITECTURES="arm arm64 mipsel riscv x64 x86 ppc64"
+SUPPORTED_ARCHITECTURES="arm arm64 riscv x64 x86 ppc64"
# TARCH: local name for the architecture
# (used as CC_${TARCH} in the build system)
@@ -367,16 +359,6 @@ arch_config_x86() {
CC_RT_EXTRA_GCC="--wrap __divdi3 --wrap __udivdi3 --wrap __moddi3 --wrap __umoddi3"
}
-arch_config_mipsel() {
- TARCH="mips"
- TBFDARCHS="tradlittlemips littlemips"
- TCLIST="mipsel"
- TWIDTH="32"
- TSUPP="mips mipsel"
- TABI="elf"
- TENDIAN="EL"
-}
-
arch_config_ppc64() {
TARCH="ppc64"
TBFDARCHS="powerpc"