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

Andreas Bießmann andreas.devel at googlemail.com
Wed Apr 9 13:20:09 CEST 2014


On 04/09/2014 01:10 PM, 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>


More information about the U-Boot mailing list