summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Roth <martinroth@chromium.org>2016-08-08 15:12:11 -0600
committerMartin Roth <martinroth@google.com>2016-08-10 21:11:49 +0200
commitfc46583807d4d6e71127952174152af32de38b9a (patch)
tree9d480083bc0446c227a9f463566c558f03758600
parent3922cec524745864b3505a038f0c64c2b3c67b18 (diff)
downloadcoreboot-fc46583807d4d6e71127952174152af32de38b9a.tar.xz
Makefile.inc: Strip CONFIG_DEVICETREE quotes at top of makefile
Minor change - Instead of stripping the quotes from CONFIG_DEVICETREE inline, add it to the location where we normalize all the other Kconfig variables. Change-Id: Idbc58179c7b45160afef7d7e44f9b3b334f8c4a7 Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://review.coreboot.org/16116 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r--Makefile.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile.inc b/Makefile.inc
index 956ed52d92..63f9b0e159 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -19,6 +19,7 @@ GIT:=$(shell [ -e "$(top)/.git" ] && command -v git)
# normalize Kconfig variables in a central place
CONFIG_CBFS_PREFIX:=$(call strip_quotes,$(CONFIG_CBFS_PREFIX))
CONFIG_FMDFILE:=$(call strip_quotes,$(CONFIG_FMDFILE))
+CONFIG_DEVICETREE:=$(call strip_quotes, $(CONFIG_DEVICETREE))
#######################################################################
# misleadingly named, this is the coreboot version
@@ -451,7 +452,7 @@ $(obj)/config.h: $(objutil)/kconfig/conf
#######################################################################
# needed objects that every mainboard uses
# Creation of these is architecture and mainboard independent
-DEVICETREE_FILE := $(src)/mainboard/$(MAINBOARDDIR)/$(call strip_quotes, $(CONFIG_DEVICETREE))
+DEVICETREE_FILE := $(src)/mainboard/$(MAINBOARDDIR)/$(CONFIG_DEVICETREE)
DEVICETREE_STATIC_C := $(obj)/mainboard/$(MAINBOARDDIR)/static.c
$(DEVICETREE_STATIC_C): $(DEVICETREE_FILE) $(objutil)/sconfig/sconfig