From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Wed, 08 Jul 2009 15:26:18 -0500 Subject: [U-Boot] [PATCH V4] libgcc inclusion from common Makefile overwritable from platform configs files In-Reply-To: <1247084077-12867-1-git-send-email-plagnioj@jcrosoft.com> References: <1247081808-31514-1-git-send-email-plagnioj@jcrosoft.com> <1247084077-12867-1-git-send-email-plagnioj@jcrosoft.com> Message-ID: <4A5500EA.2080902@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > --- > 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