[U-Boot] [PATCH V4] libgcc inclusion from common Makefile overwritable from platform configs files
Scott Wood
scottwood at freescale.com
Wed Jul 8 22:26:18 CEST 2009
Jean-Christophe PLAGNIOL-VILLARD wrote:
> This patch allow to overwrit the libgcc Makefile inclusion from the toplevel
> Makefile by the arch_config.mk files. This is in preparation for the ARM
> architecture to move away from including libgcc function and only using
> self-contained U-Boot functions as done in Linux.
>
> Currently all the ARM boards that use the nand are broken due to the adding of
> the 64 Bit device size support. In the past we have seen problems with different
> toolchains due to EABI, FPU as example.
> With this patch and the following one we move away from all these problems and
> we will be able to have full control to have a functions embedded into u-boot.
>
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> ---
> v4:
> fix typo
>
> evenif that with the typo work fine
I'm assuming that the variable reference is there for a reason, even if
it isn't necessary right now, and thus should be correct...
> LOAD_ADDR = 0x10400000
> LDSCRIPT = $(TOPDIR)/board/$(BOARDDIR)/eeprom.lds
> lnk = $(if $(obj),$(obj),.)
> @@ -49,7 +47,7 @@ $(obj)eeprom.srec: $(obj)eeprom.o $(obj)eeprom_start.o
> -o $(<:.o=) -e eeprom eeprom.o eeprom_start.o \
> -L$(obj)../../examples -lstubs \
> -L$(obj)../../lib_generic -lgeneric \
> - -L$(gcclibdir) -lgcc
> + $(PLATFROM_LIBGCC)
Still there.
-Scott
More information about the U-Boot
mailing list