diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-14 06:29:07 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2009-06-14 20:01:14 -0400 |
commit | 9ff67e5e4c719556d57f136a6453f8e4798d85c0 (patch) | |
tree | e004a20f45b84b209dfae8cc854bfc4d750be682 /blackfin_config.mk | |
parent | f52efcae98cbb8a39f1d0535df8d9646a776af9e (diff) | |
download | u-boot-imx-9ff67e5e4c719556d57f136a6453f8e4798d85c0.zip u-boot-imx-9ff67e5e4c719556d57f136a6453f8e4798d85c0.tar.gz u-boot-imx-9ff67e5e4c719556d57f136a6453f8e4798d85c0.tar.bz2 |
Blackfin: unify u-boot linker scripts
All the Blackfin linker scripts were duplicated across the board dirs with
no difference save from the semi-often used ENV_IS_EMBEDDED option. So
unify all of them in the lib_blackfin/ dir and for the few boards that
need to embedded the environment directly, add a LDS_BOARD_TEXT define for
them to customize via their board config file. This is much simpler than
forcing them to duplicate the rest of the linker script.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'blackfin_config.mk')
-rw-r--r-- | blackfin_config.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/blackfin_config.mk b/blackfin_config.mk index 00e3bfc..989e976 100644 --- a/blackfin_config.mk +++ b/blackfin_config.mk @@ -56,3 +56,7 @@ LDR_FLAGS += --quiet endif LDR_FLAGS += $(LDR_FLAGS-y) + +ifeq ($(wildcard $(TOPDIR)/board/$(BOARD)/u-boot.lds*),) +LDSCRIPT = $(obj)lib_$(ARCH)/u-boot.lds +endif |