summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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