summaryrefslogtreecommitdiffstats
path: root/examples/standalone
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-02-04 14:25:17 +0100
committerWolfgang Denk <wd@denx.de>2011-04-12 22:58:32 +0200
commit8ae86b76c648d8bef97241c78e2fddb1c4f164d3 (patch)
treeedfb0ed97fa96eb19bd494376a96227818664082 /examples/standalone
parent13d72f02efc15766f72a65fa05554a86edd248e1 (diff)
downloadtalos-obmc-uboot-8ae86b76c648d8bef97241c78e2fddb1c4f164d3.tar.gz
talos-obmc-uboot-8ae86b76c648d8bef97241c78e2fddb1c4f164d3.zip
Make STANDALONE_LOAD_ADDR configurable per board
Rename STANDALONE_LOAD_ADDR into CONFIG_STANDALONE_LOAD_ADDR and allow that the architecture-specific default value gets overwritten by defining the value in the board header file. Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Mike Frysinger <vapier@gentoo.org> Cc: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp> Cc: Daniel Hellstrom <daniel@gaisler.com> Cc: Tsi Chung Liew <tsi-chung.liew@freescale.com> Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Diffstat (limited to 'examples/standalone')
-rw-r--r--examples/standalone/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile
index c1dfdce581..66b5d24f03 100644
--- a/examples/standalone/Makefile
+++ b/examples/standalone/Makefile
@@ -95,7 +95,7 @@ $(LIB): $(obj).depend $(LIBOBJS)
$(ELF):
$(obj)%: $(obj)%.o $(LIB)
- $(LD) -g -Ttext $(STANDALONE_LOAD_ADDR) \
+ $(LD) -g -Ttext $(CONFIG_STANDALONE_LOAD_ADDR) \
-o $@ -e $(SYM_PREFIX)$(notdir $(<:.o=)) $< $(LIB) \
-L$(gcclibdir) -lgcc
OpenPOWER on IntegriCloud