]> git.dujemihanovic.xyz Git - u-boot.git/commit
kbuild: fix build rule of u-boot-spl.dtb
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 5 Feb 2016 08:55:14 +0000 (17:55 +0900)
committerTom Rini <trini@konsulko.com>
Mon, 8 Feb 2016 15:22:41 +0000 (10:22 -0500)
commit35b786780f375f32cca02d0c965091c976cf3768
treef95ceb5507d11392b21f8aea25154b65a8d86645
parent514ec438927cc2913f365ce766091cfe03fea6b7
kbuild: fix build rule of u-boot-spl.dtb

The build command of u-boot-spl.dtb is not constant, but dependent
on CONFIG_OF_SPL_REMOVE_PROPS.  Use $(call if_changed,...) so that
the change of CONFIG_OF_SPL_REMOVE_PROPS is detected.

Also, add tools/fdtgrep to the dependency to make sure u-boot-spl.dtb
is generated by the up-to-date fdtgrep in case the tool is modified.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/Makefile.spl