summaryrefslogtreecommitdiffstats
path: root/Makefile.inc
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2016-09-14 18:11:01 -0700
committerPatrick Georgi <pgeorgi@google.com>2016-09-22 22:33:55 +0200
commit0f671f6ee94822052395d36a0cb2552877d218cd (patch)
tree924d20afa1ec0cef75b0b6efc59ce1b46d28841a /Makefile.inc
parent66c2c1a2d4eed1aa4d3aad70b8790db5a4536beb (diff)
downloadcoreboot-0f671f6ee94822052395d36a0cb2552877d218cd.tar.gz
coreboot-0f671f6ee94822052395d36a0cb2552877d218cd.tar.bz2
coreboot-0f671f6ee94822052395d36a0cb2552877d218cd.zip
Build system: Remove IASL_WARNINGS_ARE_ERRORS option
All systems are building with IASL warnings as errors enabled. Remove the option to disable it. Remove the notification at the end of the build. Change-Id: I5c6218c182fdf173b4026fd010d939a5fa36040e Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/16606 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'Makefile.inc')
-rw-r--r--Makefile.inc8
1 files changed, 0 insertions, 8 deletions
diff --git a/Makefile.inc b/Makefile.inc
index ffe6015af5e6..d6c747646f17 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -238,11 +238,7 @@ cbfs-files-$(if $(2),$(2),y) += $(CONFIG_CBFS_PREFIX)/$(1).aml
$(obj)/$(1).aml: $(src)/mainboard/$(MAINBOARDDIR)/$(1).asl $(obj)/config.h
@printf " IASL $$(subst $(top)/,,$$(@))\n"
$(CC_ramstage) -x assembler-with-cpp -E -MMD -MT $$(@) $$(CPPFLAGS_ramstage) -D__ACPI__ -P -include $(src)/include/kconfig.h -I$(obj) -I$(src) -I$(src)/include -I$(src)/arch/$(ARCHDIR-$(ARCH-ramstage-y))/include -I$(src)/mainboard/$(MAINBOARDDIR) $$< -o $$@
-ifeq ($(CONFIG_IASL_WARNINGS_ARE_ERRORS),y)
cd $$(dir $$@); $(IASL) -we -p $$(notdir $$@) $$(notdir $$@)
-else
- cd $$(dir $$@); $(IASL) -p $$(notdir $$@) $$(notdir $$@)
-endif
if [ -z "$$$$($(IASL) -d $$@ 2>&1 | grep 'ACPI Warning')" ]; then echo " IASL $$@ disassembled correctly."; true; else echo "Error: Could not correctly disassemble $$@"; $(IASL) -d $$@; false; fi
endef
@@ -895,10 +891,6 @@ endif
mv $@.tmp $@
@printf " CBFSPRINT $(subst $(obj)/,,$(@))\n\n"
$(CBFSTOOL) $@ print -r $(subst $(spc),$(comma),$(all-regions))
-ifeq ($(CONFIG_IASL_WARNINGS_ARE_ERRORS),)
- @printf "\n***** WARNING: IASL warnings as errors is disabled! *****\n"
- @printf "***** Please fix the ASL for this platform. *****\n\n"
-endif
cbfs-files-y += $(CONFIG_CBFS_PREFIX)/romstage
$(CONFIG_CBFS_PREFIX)/romstage-file := $(objcbfs)/romstage.elf