diff options
author | Simon Goldschmidt | 2018-02-14 06:44:36 +0100 |
---|---|---|
committer | Tom Rini | 2018-02-14 12:14:16 -0500 |
commit | d693742b254fdbafeb39dea80e7e9640bc0ebae4 (patch) | |
tree | 6bb63da0f1ee1f8d45036b986b6b4217db8a0b1b /scripts/Makefile.spl | |
parent | 0c3fecd0bf8e36af8e53f3213f141d98c2907455 (diff) |
spl: unbreak CONFIG_SPL_MULTI_DTB_FIT after fixing CONFIG_OF_EMBED
With commit 9bd76b807636 ("spl: make CONFIG_OF_EMBED pass dts through
fdtgrep"), CONFIG_SPL_MULTI_DTB_FIT has been broken because
cmd_fdtgrep was now unknown in scripts/Makefile.spl after moving
it to dts/Makefile. This bug has been introduced with v2018.01.
This patch moves cmd_fdtgrep from dts/Makefile to scripts/Makefile.lib
and includes scripts/Makefile.lib in scripts/Makefile.spl.
Fixes: 9bd76b807636 ("spl: make CONFIG_OF_EMBED pass dts through fdtgrep")
Reported-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'scripts/Makefile.spl')
-rw-r--r-- | scripts/Makefile.spl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/Makefile.spl b/scripts/Makefile.spl index 64390e57859..2993ade41e2 100644 --- a/scripts/Makefile.spl +++ b/scripts/Makefile.spl @@ -50,6 +50,8 @@ endif include $(srctree)/config.mk include $(srctree)/arch/$(ARCH)/Makefile +include $(srctree)/scripts/Makefile.lib + # Enable garbage collection of un-used sections for SPL KBUILD_CFLAGS += -ffunction-sections -fdata-sections LDFLAGS_FINAL += --gc-sections |