summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2009-07-22 23:53:23 +0200
committerWolfgang Denk <wd@denx.de>2009-07-22 23:53:23 +0200
commit48677a1ef5f82adca49145a7baf11ece77f51945 (patch)
tree66f62851fef7c4c742a64b3441b081859aa6a4e4
parentcaf72ff329759b4da71352ab098537c7698c0e9f (diff)
downloadu-boot-imx-48677a1ef5f82adca49145a7baf11ece77f51945.zip
u-boot-imx-48677a1ef5f82adca49145a7baf11ece77f51945.tar.gz
u-boot-imx-48677a1ef5f82adca49145a7baf11ece77f51945.tar.bz2
Fix "ld: cannot find -lstubs" build error
Commit 1bc15386 moved the examples/ to examples/standalone but failed to adapt the Makefiles that need to link against libstubs.a Signed-off-by: Wolfgang Denk <wd@denx.de> Cc: Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
-rw-r--r--board/netstar/Makefile2
-rw-r--r--board/trab/Makefile2
-rw-r--r--board/voiceblue/Makefile2
3 files changed, 3 insertions, 3 deletions
diff --git a/board/netstar/Makefile b/board/netstar/Makefile
index 91bac38..cb3f7c9 100644
--- a/board/netstar/Makefile
+++ b/board/netstar/Makefile
@@ -53,7 +53,7 @@ $(LIB): $(OBJS) $(SOBJS)
$(obj)eeprom.srec: $(obj)eeprom.o $(obj)eeprom_start.o
cd $(lnk) && $(LD) -T $(LDSCRIPT) -g -Ttext $(LOAD_ADDR) \
-o $(<:.o=) -e eeprom eeprom.o eeprom_start.o \
- -L$(obj)../../examples -lstubs \
+ -L$(obj)../../examples/standalone -lstubs \
-L$(obj)../../lib_generic -lgeneric \
-L$(gcclibdir) -lgcc
$(OBJCOPY) -O srec $(<:.o=) $@
diff --git a/board/trab/Makefile b/board/trab/Makefile
index 30e5fbb..3a92c0d 100644
--- a/board/trab/Makefile
+++ b/board/trab/Makefile
@@ -49,7 +49,7 @@ $(LIB): $(obj).depend $(OBJS) $(SOBJS)
$(obj)trab_fkt.srec: $(OBJS_FKT) $(LIB)
$(LD) -g -Ttext $(LOAD_ADDR) -o $(<:.o=) -e trab_fkt $^ $(LIB) \
- -L$(obj)../../examples -lstubs \
+ -L$(obj)../../examples/standalone -lstubs \
-L$(obj)../../lib_generic -lgeneric \
$(obj)../../lib_arm/div0.o \
$(obj)../../lib_arm/_*.o
diff --git a/board/voiceblue/Makefile b/board/voiceblue/Makefile
index e7c1cbb..7bb92a6 100644
--- a/board/voiceblue/Makefile
+++ b/board/voiceblue/Makefile
@@ -47,7 +47,7 @@ $(LIB): $(OBJS) $(SOBJS)
$(obj)eeprom.srec: $(obj)eeprom.o $(obj)eeprom_start.o
cd $(lnk) && $(LD) -T $(LDSCRIPT) -g -Ttext $(LOAD_ADDR) \
-o $(<:.o=) -e eeprom eeprom.o eeprom_start.o \
- -L$(obj)../../examples -lstubs \
+ -L$(obj)../../examples/standalone -lstubs \
-L$(obj)../../lib_generic -lgeneric \
-L$(gcclibdir) -lgcc
$(OBJCOPY) -O srec $(<:.o=) $@