crossgcc: Add gnumake target so that make can be built directly
Previously, make could be built as one of the crosgcc* targets, but there was no way to just rebuild make, as there is for IASL. - Add an independent target - gnumake. - Add gnumake to the help text. - Add gnumake to the list of NOCOMPILE targets (Not compiling coreboot) Change-Id: I4df25f2e209ca14944d491dbfb8e9b085ff7aca3 Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/16163 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
This commit is contained in:
parent
34e4a1c01a
commit
109a7db2bb
2
Makefile
2
Makefile
|
@ -122,7 +122,7 @@ ifeq ($(strip $(HAVE_DOTCONFIG)),)
|
||||||
NOCOMPILE:=1
|
NOCOMPILE:=1
|
||||||
endif
|
endif
|
||||||
ifneq ($(MAKECMDGOALS),)
|
ifneq ($(MAKECMDGOALS),)
|
||||||
ifneq ($(filter %config %clean cross% clang iasl lint% help% what-jenkins-does,$(MAKECMDGOALS)),)
|
ifneq ($(filter %config %clean cross% clang iasl gnumake lint% help% what-jenkins-does,$(MAKECMDGOALS)),)
|
||||||
NOCOMPILE:=1
|
NOCOMPILE:=1
|
||||||
endif
|
endif
|
||||||
ifeq ($(MAKECMDGOALS), %clean)
|
ifeq ($(MAKECMDGOALS), %clean)
|
||||||
|
|
|
@ -22,6 +22,7 @@ help_toolchain help::
|
||||||
@echo ' crossgcc-clean - Remove all built coreboot cross-compilers'
|
@echo ' crossgcc-clean - Remove all built coreboot cross-compilers'
|
||||||
@echo ' iasl - Build coreboot IASL compiler (built by all cross targets)'
|
@echo ' iasl - Build coreboot IASL compiler (built by all cross targets)'
|
||||||
@echo ' clang - Build coreboot clang compiler'
|
@echo ' clang - Build coreboot clang compiler'
|
||||||
|
@echo ' gnumake - Build coreboot make'
|
||||||
@echo ' test-toolchain - Reports if toolchain components are out of date'
|
@echo ' test-toolchain - Reports if toolchain components are out of date'
|
||||||
@echo ' crossgcc-ARCH - Build cross-compiler for specific architecture'
|
@echo ' crossgcc-ARCH - Build cross-compiler for specific architecture'
|
||||||
@echo ' crosstools-ARCH - Build cross-compiler with GDB for specific architecture'
|
@echo ' crosstools-ARCH - Build cross-compiler with GDB for specific architecture'
|
||||||
|
@ -39,7 +40,7 @@ crossgcc: clean-for-update
|
||||||
crossgcc-mips crossgcc-riscv crossgcc-power8 crossgcc-clean iasl \
|
crossgcc-mips crossgcc-riscv crossgcc-power8 crossgcc-clean iasl \
|
||||||
clang crosstools-i386 crosstools-x64 crosstools-arm \
|
clang crosstools-i386 crosstools-x64 crosstools-arm \
|
||||||
crosstools-aarch64 crosstools-mips crosstools-riscv crosstools-power8 \
|
crosstools-aarch64 crosstools-mips crosstools-riscv crosstools-power8 \
|
||||||
jenkins-build-toolchain
|
jenkins-build-toolchain gnumake
|
||||||
|
|
||||||
$(foreach arch,$(TOOLCHAIN_ARCHES),crossgcc-$(arch)): clean-for-update
|
$(foreach arch,$(TOOLCHAIN_ARCHES),crossgcc-$(arch)): clean-for-update
|
||||||
$(MAKE) -C util/crossgcc $(patsubst crossgcc-%,build-%,$@) build_iasl SKIP_GDB=1
|
$(MAKE) -C util/crossgcc $(patsubst crossgcc-%,build-%,$@) build_iasl SKIP_GDB=1
|
||||||
|
@ -53,6 +54,9 @@ iasl: clean-for-update
|
||||||
clang: clean-for-update
|
clang: clean-for-update
|
||||||
$(MAKE) -C util/crossgcc build_clang
|
$(MAKE) -C util/crossgcc build_clang
|
||||||
|
|
||||||
|
gnumake: clean-for-update
|
||||||
|
$(MAKE) -C util/crossgcc build_make
|
||||||
|
|
||||||
$(foreach arch,$(TOOLCHAIN_ARCHES),crosstools-$(arch)): clean-for-update
|
$(foreach arch,$(TOOLCHAIN_ARCHES),crosstools-$(arch)): clean-for-update
|
||||||
$(MAKE) -C util/crossgcc $(patsubst crosstools-%,build-%,$@) build_iasl
|
$(MAKE) -C util/crossgcc $(patsubst crosstools-%,build-%,$@) build_iasl
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue