9
0
Fork 0

don't against link libgcc

We don't want to link against libgcc.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
This commit is contained in:
Marc Kleine-Budde 2007-11-26 16:58:20 +01:00
parent fdac93e784
commit 57bb3cd90d
4 changed files with 1 additions and 6 deletions

View File

@ -21,7 +21,6 @@ TEXT_BASE = $(CONFIG_TEXT_BASE)
CPPFLAGS += -mabi=apcs-gnu -DTEXT_BASE=$(TEXT_BASE) -P
CFLAGS := -fno-common -msoft-float -Os
LDFLAGS_uboot :=-L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
ifeq ($(incdir-y),)
incdir-y := $(machine-y)

View File

@ -11,7 +11,6 @@ TEXT_BASE = $(CONFIG_TEXT_BASE)
CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -P
CFLAGS := -fno-common -Os -D__blackfin__
LDFLAGS_uboot :=-L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
# -Ttext $(TEXT_BASE)
KALLSYMS += --symbol-prefix=_

View File

@ -16,7 +16,6 @@ TEXT_BASE = $(CONFIG_TEXT_BASE)
CPPFLAGS += -DTEXT_BASE=$(TEXT_BASE) -P
CFLAGS := -fno-common -Os
LDFLAGS_uboot :=-L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
ifeq ($(incdir-y),)
incdir-y := $(machine-y)

View File

@ -24,8 +24,6 @@ CFLAGS := -fno-common -Os -Dmalloc=u_boot_malloc \
-Dfputs=u_boot_fputs -Dsetenv=u_boot_setenv \
-Dgetenv=u_boot_getenv -Dprintf=u_boot_printf
LDFLAGS_uboot :=-L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
ifeq ($(incdir-y),)
incdir-y := $(machine-y)
endif
@ -67,7 +65,7 @@ maketools: include/asm-sandbox/.arch
cmd_uboot__ = $(CC) -o $@ -Wl,-T,$(uboot-lds) \
-Wl,--start-group $(uboot-common) -Wl,--end-group \
-lrt -Wl,-rpath,/lib -lrt -lpthread
-lrt -lpthread
common-y += arch/sandbox/lib/ arch/sandbox/board/