mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
UPSTREAM: 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. BUG=None BRANCH=None TEST=None Signed-off-by: Martin Roth <martinroth@chromium.org> Reviewed-on: https://review.coreboot.org/16116 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Change-Id: Idbc58179c7b45160afef7d7e44f9b3b334f8c4a7 Reviewed-on: https://chromium-review.googlesource.com/368949 Commit-Ready: Furquan Shaikh <furquan@chromium.org> Tested-by: Furquan Shaikh <furquan@chromium.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
9304a574b5
commit
77213330a3
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue