]> git.sur5r.net Git - u-boot/commitdiff
Fix "ld: cannot find -lstubs" build error
authorWolfgang Denk <wd@denx.de>
Wed, 22 Jul 2009 21:53:23 +0000 (23:53 +0200)
committerWolfgang Denk <wd@denx.de>
Wed, 22 Jul 2009 21:53:23 +0000 (23:53 +0200)
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>
board/netstar/Makefile
board/trab/Makefile
board/voiceblue/Makefile

index 91bac3894942a0ac6eaa45d734cc47f09a19f942..cb3f7c90327033721e5fd90c301e5309f44ae872 100644 (file)
@@ -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=) $@
index 30e5fbbb3116697bd8c01710ae524c053e843f42..3a92c0d95f920e5dc48f0b4c095abd572309d6c3 100644 (file)
@@ -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
index e7c1cbb3127b9e48bc1391d41389d21f4a6e2dbf..7bb92a681e50beacfac26cce783f712e44542972 100644 (file)
@@ -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=) $@