mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
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>
This commit is contained in:
parent
caf72ff329
commit
48677a1ef5
3 changed files with 3 additions and 3 deletions
|
@ -53,7 +53,7 @@ $(LIB): $(OBJS) $(SOBJS)
|
||||||
$(obj)eeprom.srec: $(obj)eeprom.o $(obj)eeprom_start.o
|
$(obj)eeprom.srec: $(obj)eeprom.o $(obj)eeprom_start.o
|
||||||
cd $(lnk) && $(LD) -T $(LDSCRIPT) -g -Ttext $(LOAD_ADDR) \
|
cd $(lnk) && $(LD) -T $(LDSCRIPT) -g -Ttext $(LOAD_ADDR) \
|
||||||
-o $(<:.o=) -e eeprom eeprom.o eeprom_start.o \
|
-o $(<:.o=) -e eeprom eeprom.o eeprom_start.o \
|
||||||
-L$(obj)../../examples -lstubs \
|
-L$(obj)../../examples/standalone -lstubs \
|
||||||
-L$(obj)../../lib_generic -lgeneric \
|
-L$(obj)../../lib_generic -lgeneric \
|
||||||
-L$(gcclibdir) -lgcc
|
-L$(gcclibdir) -lgcc
|
||||||
$(OBJCOPY) -O srec $(<:.o=) $@
|
$(OBJCOPY) -O srec $(<:.o=) $@
|
||||||
|
|
|
@ -49,7 +49,7 @@ $(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
$(obj)trab_fkt.srec: $(OBJS_FKT) $(LIB)
|
$(obj)trab_fkt.srec: $(OBJS_FKT) $(LIB)
|
||||||
$(LD) -g -Ttext $(LOAD_ADDR) -o $(<:.o=) -e trab_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 \
|
-L$(obj)../../lib_generic -lgeneric \
|
||||||
$(obj)../../lib_arm/div0.o \
|
$(obj)../../lib_arm/div0.o \
|
||||||
$(obj)../../lib_arm/_*.o
|
$(obj)../../lib_arm/_*.o
|
||||||
|
|
|
@ -47,7 +47,7 @@ $(LIB): $(OBJS) $(SOBJS)
|
||||||
$(obj)eeprom.srec: $(obj)eeprom.o $(obj)eeprom_start.o
|
$(obj)eeprom.srec: $(obj)eeprom.o $(obj)eeprom_start.o
|
||||||
cd $(lnk) && $(LD) -T $(LDSCRIPT) -g -Ttext $(LOAD_ADDR) \
|
cd $(lnk) && $(LD) -T $(LDSCRIPT) -g -Ttext $(LOAD_ADDR) \
|
||||||
-o $(<:.o=) -e eeprom eeprom.o eeprom_start.o \
|
-o $(<:.o=) -e eeprom eeprom.o eeprom_start.o \
|
||||||
-L$(obj)../../examples -lstubs \
|
-L$(obj)../../examples/standalone -lstubs \
|
||||||
-L$(obj)../../lib_generic -lgeneric \
|
-L$(obj)../../lib_generic -lgeneric \
|
||||||
-L$(gcclibdir) -lgcc
|
-L$(gcclibdir) -lgcc
|
||||||
$(OBJCOPY) -O srec $(<:.o=) $@
|
$(OBJCOPY) -O srec $(<:.o=) $@
|
||||||
|
|
Loading…
Reference in a new issue