diff options
author | Mike Frysinger <vapier@gentoo.org> | 2008-02-16 02:12:37 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2008-02-22 12:06:32 +0100 |
commit | f65c98129ccada3f7caf97d80395a95b84e911de (patch) | |
tree | 4acd2852b2bcee604c1353417a8a296e16e67639 /drivers | |
parent | 928d1d77f8623c120d8763e20e1ca58df9c5c4c6 (diff) | |
download | u-boot-imx-f65c98129ccada3f7caf97d80395a95b84e911de.zip u-boot-imx-f65c98129ccada3f7caf97d80395a95b84e911de.tar.gz u-boot-imx-f65c98129ccada3f7caf97d80395a95b84e911de.tar.bz2 |
Makefile: add target for $(LDSCRIPT)
If the $(LDSCRIPT) does not exist (normally it's board/$(BOARD)/u-boot.lds),
then change into the board directory and try and create it. This allows you
to generate the linker script on the fly based upon board defines (like the
Blackfin boards do).
There should be no regressions due to this change as the normal case is to
already have a u-boot.lds file. If that's the case, then there's nothing to
generate, and so make will always exit. The fix here is that if the linker
script does not exist, the implicit rules take over and attempt to guess how
to generate the file.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions