spl: unbreak CONFIG_SPL_MULTI_DTB_FIT after fixing CONFIG_OF_EMBED
authorSimon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
Wed, 14 Feb 2018 05:44:36 +0000 (06:44 +0100)
committerTom Rini <trini@konsulko.com>
Wed, 14 Feb 2018 17:14:16 +0000 (12:14 -0500)
commitd693742b254fdbafeb39dea80e7e9640bc0ebae4
tree6bb63da0f1ee1f8d45036b986b6b4217db8a0b1b
parent0c3fecd0bf8e36af8e53f3213f141d98c2907455
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>
dts/Makefile
scripts/Makefile.lib
scripts/Makefile.spl