[coreboot-gerrit] Patch set updated for coreboot: Makefile.inc: Add build targets for IASL & Clang

Martin Roth (martinroth@google.com) gerrit at coreboot.org
Thu Nov 26 01:04:44 CET 2015


Martin Roth (martinroth at google.com) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/12541

-gerrit

commit 90338cd79b12bb976212892a0fc532f14afe0424
Author: Martin Roth <martinroth at google.com>
Date:   Wed Nov 25 11:50:04 2015 -0700

    Makefile.inc: Add build targets for IASL & Clang
    
    - Add specific build targets for IASL & CLANG and help for those targets
    - Consolidate tool target .PHONY entries
    
    Change-Id: If2960d75310495d9e486b3a08808463a2ff0c644
    Signed-off-by: Martin Roth <martinroth at google.com>
---
 Makefile     |  6 +++---
 Makefile.inc | 15 +++++++++++++--
 2 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index fde0914..05da7be 100644
--- a/Makefile
+++ b/Makefile
@@ -93,8 +93,8 @@ DOXYGEN_OUTPUT_DIR := doxygen
 
 all: real-all
 
-help::
-	@echo  '*** coreboot platform ***'
+help_coreboot help::
+	@echo  '*** coreboot platform targets ***'
 	@echo  '  Use "make [target] V=1" for extra build debug information'
 	@echo  '  all                   - Build coreboot'
 	@echo  '  clean                 - Remove coreboot build artifacts'
@@ -121,7 +121,7 @@ ifeq ($(strip $(HAVE_DOTCONFIG)),)
 NOCOMPILE:=1
 endif
 ifneq ($(MAKECMDGOALS),)
-ifneq ($(filter %config %clean cross% lint% what-jenkins-does,$(MAKECMDGOALS)),)
+ifneq ($(filter %config %clean cross% clang iasl lint% what-jenkins-does,$(MAKECMDGOALS)),)
 NOCOMPILE:=1
 endif
 ifeq ($(MAKECMDGOALS), %clean)
diff --git a/Makefile.inc b/Makefile.inc
index 7fe1e17..a1c882b 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -451,6 +451,8 @@ help::
 	@echo  '  crossgcc        - Build coreboot cross-compilers for all platforms'
 	@echo  '  crosstools      - Build coreboot cross-compiler and GDB for all platforms'
 	@echo  '  crossgcc-clean  - Remove all built coreboot cross-compilers'
+	@echo  '  iasl            - Build coreboot IASL compiler (built by all cross targets)'
+	@echo  '  clang           - Build coreboot clang compiler'
 	@echo  '  crossgcc-ARCH   - Build cross-compiler for specific architecture'
 	@echo  '  crosstools-ARCH - Build cross-compiler with GDB for specific architecture'
 	@echo  '  ARCH can be "i386", "x64", "arm", "aarch64", "mips", or "riscv"'
@@ -463,7 +465,11 @@ help::
 crossgcc:
 	$(MAKE) -C util/crossgcc all_without_gdb SKIP_CLANG=1
 
-.PHONY: crossgcc-i386 crossgcc-x64 crossgcc-arm crossgcc-aarch64 crossgcc-mips crossgcc-riscv
+.PHONY: crossgcc crossgcc-i386 crossgcc-x64 crossgcc-arm crossgcc-aarch64 \
+	crossgcc-mips crossgcc-riscv crossgcc-clean iasl clang tools \
+	crosstools-i386 crosstools-x64 crosstools-arm crosstools-aarch64 \
+	crosstools-mips crosstools-riscv
+
 crossgcc-i386: clean-for-update
 	$(MAKE) -C util/crossgcc build-i386 SKIP_GDB=1
 
@@ -485,7 +491,12 @@ crossgcc-riscv: clean-for-update
 crosstools:
 	$(MAKE) -C util/crossgcc all_with_gdb SKIP_CLANG=1
 
-.PHONY: crosstools-i386 crosstools-x64 crosstools-arm crosstools-aarch64 crosstools-mips crosstools-riscv
+iasl:
+	$(MAKE) -C util/crossgcc build_iasl
+
+clang:
+	$(MAKE) -C util/crossgcc build_clang
+
 crosstools-i386: clean-for-update
 	$(MAKE) -C util/crossgcc build-i386
 



More information about the coreboot-gerrit mailing list