summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2016-01-29 17:39:07 -0800
committerStefan Reinauer <stefan.reinauer@coreboot.org>2016-02-03 02:21:09 +0100
commit8adbcc24309a5965c0e28aa3deca57cf23088ddb (patch)
tree945ce8724dfc3a8ba7d408537932e9455bc8de42 /util
parent2cc2ff6f3fb6311ca4ae308b105b185edfb9e10f (diff)
downloadcoreboot-8adbcc24309a5965c0e28aa3deca57cf23088ddb.tar.xz
buildgcc: add nds32le compiler
Some Chrome ECs are based on that architecture Change-Id: Ib5d0c2f6f518fafc1ceb02c5f71c0935d16c66bb Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Reviewed-on: https://review.coreboot.org/13562 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util')
-rw-r--r--util/crossgcc/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
index 78fdbc8c37..fbbadac18c 100644
--- a/util/crossgcc/Makefile
+++ b/util/crossgcc/Makefile
@@ -64,6 +64,9 @@ build-riscv:
build-power8:
@$(MAKE) build_tools BUILD_PLATFORM=powerpc64le-linux-gnu
+build-nds32le:
+ @$(MAKE) build_tools BUILD_PLATFORM=nds32le-elf
+
clean_tempfiles:
rm -rf build-*
rm -rf binutils-* gcc-* gmp-* libelf-* mpc-* mpfr-*
@@ -78,7 +81,7 @@ clean: clean_tempfiles
distclean: clean
rm -rf tarballs
-.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-power8 \
+.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-power8 build-nds32le \
clean distclean clean_tempfiles