]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
kbuild: fix a bug of the u-boot-spl link rule
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Thu, 23 Oct 2014 16:30:44 +0000 (01:30 +0900)
committerTom Rini <trini@ti.com>
Thu, 23 Oct 2014 17:19:11 +0000 (13:19 -0400)
commit9adb6d2407d10d30a138a94b200fa0aaff4d73dc
treee81be93c7b4e2583b37eb0b2866035a1f132e765
parent45ccec8f29563f248cd1a7d53c1a9ffa2881837d
kbuild: fix a bug of the u-boot-spl link rule

cmd_u-boot-spl includes $(PLATFORM_LIBS) which changes
when CONFIG_USE_PRIVATE_GCC is updated.  The u-boot-spl image
should be re-linked if any prerequisite is newer than it
or the command line has changed.
$(call, if_changed,...) should be used instead of $(call cmd,...).

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
scripts/Makefile.spl