]> Git Repo - J-u-boot.git/commit
kbuild: fix a bug in regeneration of linker scripts
authorMasahiro Yamada <[email protected]>
Wed, 9 Apr 2014 11:10:43 +0000 (20:10 +0900)
committerTom Rini <[email protected]>
Fri, 11 Apr 2014 14:08:42 +0000 (10:08 -0400)
commit395e60cdc292dc0183c6867d34b43f14a373df55
tree9812385a67c59263cbe9d248129cf28429f344e8
parent519fdde9e6a6ebce7dc743b4f5621503d25b7a45
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: Masahiro Yamada <[email protected]>
Reported-by: Andreas Bießmann <[email protected]>
Tested-by: Andreas Bießmann <[email protected]>
Makefile
spl/Makefile
This page took 0.032122 seconds and 4 git commands to generate.