[U-Boot] kbuild: fix a bug in regeneration of linker scripts

Tom Rini trini at ti.com
Fri Apr 11 22:43:12 CEST 2014


On Wed, Apr 09, 2014 at 08:10:43PM +0900, Masahiro Yamada wrote:

> In some use cases, SPL linker script was not updated even when
> it should be.
> 
> For instance,
> 
>   $ make tricoder_config all
>     [ build complete ]
>   ... modify include/configs/tricoder.h
>   $ make
> 
> spl/u-boot-spl.lds should be updated in this case, but it wasn't.
> 
> To fix this problem, linker scripts generation should be handled
> by $(call if_changed_dep,...) rather than by $(call if_changed,...).
> 
> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> Reported-by: Andreas Bießmann <andreas.devel at googlemail.com>
> Tested-by: Andreas Bießmann <andreas.devel at googlemail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140411/1ec3363f/attachment.pgp>


More information about the U-Boot mailing list