
On Saturday 20 June 2009 06:40:07 Jean-Christophe PLAGNIOL-VILLARD wrote:
On 06:18 Sat 20 Jun , Mike Frysinger wrote:
On Saturday 20 June 2009 05:33:26 Jean-Christophe PLAGNIOL-VILLARD wrote:
This patch moves the libgcc Makefile inclusion from the toplevel Makefile to 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.
why not change the top level Makefile to read: PLATFORM_LIBGCC ?= ...
then any board/arch that doesnt want it can simply do: PLATFORM_LIBGCC = # dont want it
because you need to provide the equivalent functions for standalone application and api and U-Boot ofcourse
so move it to config.mk. this doesnt change the important point: leave PLATFORM_LIBGCC default in the toplevel common files. what i proposed doesnt limit what you want to do with arm in any way. -mike