summaryrefslogtreecommitdiff
path: root/util/crossgcc
diff options
context:
space:
mode:
authorStefan Reinauer <stefan.reinauer@coreboot.org>2016-03-06 02:18:47 -0800
committerMartin Roth <martinroth@google.com>2016-03-08 16:33:27 +0100
commitf466ea97bf716d47b4765d3c2df24ec14572a699 (patch)
treeea2fc9352fff09dd4629830a7f0e65039aed12e3 /util/crossgcc
parent9d5e36e839382920e2b5b9f138bd03c3d40276f5 (diff)
downloadcoreboot-f466ea97bf716d47b4765d3c2df24ec14572a699.tar.xz
crossgcc: Build make per default
Build make with the rest of the toolchain, since the targets using a Chromium EC need make 4.x Change-Id: I7efb0c25f605f16c2d9a1e7c4b203f3bcdae671b Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-on: https://review.coreboot.org/13923 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'util/crossgcc')
-rw-r--r--util/crossgcc/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/util/crossgcc/Makefile b/util/crossgcc/Makefile
index 0831f181f0..917301c341 100644
--- a/util/crossgcc/Makefile
+++ b/util/crossgcc/Makefile
@@ -10,12 +10,12 @@ DEST ?= $(CURDIR)/xgcc
all all_with_gdb:
$(MAKE) build-i386 build-x64 build-arm build-mips \
build-riscv build-aarch64 build-power8 build-nds32le \
- build_clang build_iasl
+ build_clang build_iasl build_make
all_without_gdb:
$(MAKE) SKIP_GDB=1 build-i386 build-x64 build-arm build-mips \
build-riscv build-aarch64 build-power8 build-nds32le \
- build_clang build_iasl
+ build_clang build_iasl build_make
build_tools: build_gcc build_gdb
@@ -40,6 +40,9 @@ ifeq ($(SKIP_CLANG),)
bash ./buildgcc -P clang $(if $(CPUS),-j $(CPUS)) $(if $(KEEP_SOURCES),-t) $(BUILDGCC_OPTIONS) -d $(DEST)
endif
+build_make:
+ bash ./buildgcc -P make $(if $(CPUS),-j $(CPUS)) $(if $(KEEP_SOURCES),-t) $(BUILDGCC_OPTIONS) -d $(DEST)
+
###########################################################
build-i386:
@$(MAKE) build_tools BUILD_PLATFORM=i386-elf