]> git.dujemihanovic.xyz Git - u-boot.git/commit
kbuild: Move linker sciript check to prepare1
authorMasahiro Yamada <yamada.m@jp.panasonic.com>
Tue, 25 Feb 2014 10:26:48 +0000 (19:26 +0900)
committerTom Rini <trini@ti.com>
Tue, 25 Feb 2014 16:01:29 +0000 (11:01 -0500)
commit4a377552f01b7b19ea5fc02eb844c786751f7247
tree8a2f59f47d98e3f02019164e3a545efc2a39a208
parent331b45fb70e6c2355a28f1a11d63075a873bb1d5
kbuild: Move linker sciript check to prepare1

Same as the previous commit.
Move sanity check to prepare1 target to avoid nasty troubles.

Before this commit, LDSCRIPT existence was not checked
when it was specified by CONFIG_SYS_LDSCRIPT.
Now LDSCRIPT existence is checked for all boards.

$(wildcard $(LDSCRIPT)) must point to the linker scripts
with absolute path.
Otherwise, make will terminate with a false error
on out-of-tree build.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Makefile
include/configs/MPC8536DS.h
include/configs/MPC8569MDS.h
include/configs/MPC8572DS.h
include/configs/P1023RDS.h
include/configs/P1_P2_RDB.h