From: Marek Vasut Date: Mon, 5 Mar 2012 23:44:22 +0000 (+0100) Subject: Examples: Properly append LDFLAGS to LD command X-Git-Tag: v2012.04-rc1~19^2~120 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e0e7f3b210ce553c6caab05b71891a1279eb551e;p=kernel%2Fu-boot.git 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 Cc: Bryan Hundven Cc: Michael Schwingen --- diff --git a/examples/standalone/Makefile b/examples/standalone/Makefile index e23865b..baaa2fb 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