Re: [U-Boot] [PATCH v3 3/3] kbuild: fix build rule of u-boot-spl.dtb

2016-02-05 Thread Simon Glass
On 5 February 2016 at 01:55, Masahiro Yamada wrote: > 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 mak

[U-Boot] [PATCH v3 3/3] kbuild: fix build rule of u-boot-spl.dtb

2016-02-05 Thread Masahiro Yamada
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 i