diff options
author | Marek Vasut <marex@denx.de> | 2012-03-06 00:44:22 +0100 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-03-26 23:09:25 +0200 |
commit | e0e7f3b210ce553c6caab05b71891a1279eb551e (patch) | |
tree | adede8ad915a501f01a789b928c1bc84c355b6ff /examples | |
parent | 763cf0a3d24124916824e31793fbafbbb4311597 (diff) | |
download | u-boot-e0e7f3b210ce553c6caab05b71891a1279eb551e.tar.gz u-boot-e0e7f3b210ce553c6caab05b71891a1279eb551e.tar.bz2 u-boot-e0e7f3b210ce553c6caab05b71891a1279eb551e.zip |
Examples: Properly append LDFLAGS to LD command
The LD command in examples/standalone/Makefile ignored platform specific
LDFLAGS setup. Pass these LDFLAGS to the command.
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Bryan Hundven <bryanhundven@gmail.com>
Cc: Michael Schwingen <rincewind@discworld.dascon.de>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/standalone/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile index e23865b4b0..baaa2fbe4d 100644 --- a/examples/standalone/Makefile +++ b/examples/standalone/Makefile @@ -96,7 +96,7 @@ $(LIB): $(obj).depend $(LIBOBJS) $(ELF): $(obj)%: $(obj)%.o $(LIB) - $(LD) -g -Ttext $(CONFIG_STANDALONE_LOAD_ADDR) \ + $(LD) $(LDFLAGS) -g -Ttext $(CONFIG_STANDALONE_LOAD_ADDR) \ -o $@ -e $(SYM_PREFIX)$(notdir $(<:.o=)) $< $(LIB) \ -L$(gcclibdir) -lgcc |