Skip to content
Snippets Groups Projects
Commit 395e60cd authored by Masahiro Yamada's avatar Masahiro Yamada Committed by Tom Rini
Browse files

kbuild: fix a bug in regeneration of linker scripts


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: default avatarMasahiro Yamada <yamada.m@jp.panasonic.com>
Reported-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
Tested-by: default avatarAndreas Bießmann <andreas.devel@googlemail.com>
parent 519fdde9
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment