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:
parent
fdac93e784
commit
57bb3cd90d
|
@ -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)
|
||||
|
|
|
@ -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=_
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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/
|
||||
|
||||
|
|
Loading…
Reference in New Issue