summaryrefslogtreecommitdiff
path: root/util/crossgcc
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/crossgcc
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/crossgcc')
-rw-r--r--util/crossgcc/Makefile10
-rw-r--r--util/crossgcc/Makefile.inc6
-rw-r--r--util/crossgcc/README1
-rwxr-xr-xutil/crossgcc/buildgcc3
4 files changed, 7 insertions, 13 deletions
diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
index c4f4262e87..db8b769287 100644
--- a/util/crossgcc/Makefile
+++ b/util/crossgcc/Makefile
@@ -8,12 +8,12 @@ DEST ?= $(CURDIR)/xgcc
# Example: BUILDGCC_OPTIONS=-c to remove temporary files before build
all all_with_gdb:
- $(MAKE) build-i386 build-x64 build-arm build-mips \
+ $(MAKE) build-i386 build-x64 build-arm \
build-riscv build-aarch64 build-ppc64 build-nds32le \
build_clang build_iasl build_make build_nasm
all_without_gdb:
- $(MAKE) SKIP_GDB=1 build-i386 build-x64 build-arm build-mips \
+ $(MAKE) SKIP_GDB=1 build-i386 build-x64 build-arm \
build-riscv build-aarch64 build-ppc64 build-nds32le \
build_clang build_iasl build_make build_nasm
@@ -59,9 +59,6 @@ build-arm:
build-aarch64:
@$(MAKE) build_tools BUILD_PLATFORM=aarch64-elf
-build-mips:
- @$(MAKE) build_tools BUILD_PLATFORM=mipsel-elf
-
build-riscv:
# GDB is currently not supported on RISC-V
@$(MAKE) build_gcc BUILD_PLATFORM=riscv-elf
@@ -88,7 +85,6 @@ distclean: clean
.PHONY: build_gcc build_iasl build_gdb build_clang all all_with_gdb \
all_without_gdb build_tools build-i386 build-x64 build-arm \
- build-aarch64 build-mips build-riscv build-ppc64 build-nds32le \
- build-nasm \
+ build-aarch64 build-riscv build-ppc64 build-nds32le build-nasm \
clean distclean clean_tempfiles
.NOTPARALLEL:
diff --git a/util/crossgcc/Makefile.inc b/util/crossgcc/Makefile.inc
index 0ef6b9c1e3..108612fd0a 100644
--- a/util/crossgcc/Makefile.inc
+++ b/util/crossgcc/Makefile.inc
@@ -13,7 +13,7 @@
## GNU General Public License for more details.
##
-TOOLCHAIN_ARCHES := i386 x64 arm aarch64 mips riscv ppc64 nds32le
+TOOLCHAIN_ARCHES := i386 x64 arm aarch64 riscv ppc64 nds32le
help_toolchain help::
@echo '*** Toolchain targets ***'
@@ -39,9 +39,9 @@ crossgcc: clean-for-update
$(MAKE) -C util/crossgcc all_without_gdb SKIP_CLANG=1
.PHONY: crossgcc crossgcc-i386 crossgcc-x64 crossgcc-arm crossgcc-aarch64 \
- crossgcc-mips crossgcc-riscv crossgcc-power8 crossgcc-clean iasl \
+ crossgcc-riscv crossgcc-power8 crossgcc-clean iasl \
clang crosstools-i386 crosstools-x64 crosstools-arm \
- crosstools-aarch64 crosstools-mips crosstools-riscv crosstools-power8 \
+ crosstools-aarch64 crosstools-riscv crosstools-power8 \
jenkins-build-toolchain gnumake nasm
$(foreach arch,$(TOOLCHAIN_ARCHES),crossgcc-$(arch)): clean-for-update
diff --git a/util/crossgcc/README b/util/crossgcc/README
index 5ce9304aa7..c40454f3d9 100644
--- a/util/crossgcc/README
+++ b/util/crossgcc/README
@@ -7,7 +7,6 @@ known working:
i386-elf
x86_64-elf
powerpc-elf
- mipsel-elf
arm-elf
armv7a-eabi
aarch64-elf
diff --git a/util/crossgcc/buildgcc b/util/crossgcc/buildgcc
index b75b90a877..0ce8f20851 100755
--- a/util/crossgcc/buildgcc
+++ b/util/crossgcc/buildgcc
@@ -604,7 +604,7 @@ myhelp()
printf " (defaults to $TARGETARCH)\n"
printf " [-S|--scripting] build scripting support for GDB\n\n"
printf "Platforms for GCC & GDB:\n"
- printf " x86_64 i386-elf i386-mingw32 mipsel-elf riscv-elf arm aarch64\n"
+ printf " x86_64 i386-elf i386-mingw32 riscv-elf arm aarch64\n"
printf " powerpc64le-linux-gnu nds32le-elf\n\n"
}
@@ -1018,7 +1018,6 @@ case "$TARGETARCH" in
x86_64*) TARGETARCH=x86_64-elf;;
i386-elf) ;;
i386-mingw32) ;;
- mipsel-elf) ;;
riscv-elf) TARGETARCH=riscv64-elf;;
powerpc64*-linux*) ;;
i386*) TARGETARCH=i386-elf;;