From f466ea97bf716d47b4765d3c2df24ec14572a699 Mon Sep 17 00:00:00 2001
From: Stefan Reinauer <stefan.reinauer@coreboot.org>
Date: Sun, 6 Mar 2016 02:18:47 -0800
Subject: 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>
---
 util/crossgcc/Makefile | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'util/crossgcc/Makefile')

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
-- 
cgit v1.2.3