]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
TRAB: make independent of specific libgcc helper routines
authorWolfgang Denk <wd@denx.de>
Wed, 12 Aug 2009 22:37:16 +0000 (00:37 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 21 Aug 2009 21:25:22 +0000 (23:25 +0200)
The TRAB board references local libgcc helper routines
(lib_arm/div0.o and lib_arm/_umodsi3.o) which cause build problems
when we try to use the normal, compiler provided libgcc instead.
Removing these references allows to build both with and without the
local libgcc helper routines.

Signed-off-by: Wolfgang Denk <wd@denx.de>
board/trab/Makefile
board/trab/u-boot.lds

index 2afad888d1dabeb243b594661e7740ad553ac764..27d75f3a006734a813a4dc3aab3bfce26895340d 100644 (file)
@@ -49,7 +49,6 @@ $(obj)trab_fkt.srec:  $(OBJS_FKT) $(LIB)
        $(LD) -g -Ttext $(LOAD_ADDR) -o $(<:.o=) -e trab_fkt $^ $(LIB) \
                -L$(obj)../../examples/standalone -lstubs \
                -L$(obj)../../lib_generic -lgeneric \
-               $(obj)../../lib_arm/div0.o \
                $(PLATFORM_LIBS)
        $(OBJCOPY) -O srec $(<:.o=) $@
 
index d8bcfa40b2ada82e2966ec4c42bcc9f643d64947..c3d5c49a9b2b1a1e2d5c2de3255acc16db39973b 100644 (file)
@@ -33,7 +33,6 @@ SECTIONS
        .text      :
        {
          cpu/arm920t/start.o   (.text)
-         lib_arm/_umodsi3.o    (.text)
          lib_generic/zlib.o    (.text)
          lib_generic/crc32.o   (.text)
          lib_generic/string.o  (.text)