u-boot-brain/arch/sh
Haiying Wang 6dc1eceb9c Introduce a new linker flag LDFLAGS_FINAL
commit 8aba9dceeb
Divides variable of linker flags to LDFLAGS-u-boot and LDFLAGS

breaks the usage of --gc-section to build nand_spl. We still need linker option
--gc-section for every uboot image, not only the main one. LDFLAGS_FINAL passes
the --gc-sections to each uboot image.

To get the proper linker flags, we use LDFLAGS and LDFLAGS_FINAL to replace
PLATFORM_LDFLAGS in the Makefile of each nand_spl board.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Haiying Wang <Haiying.Wang@freescale.com>
2011-03-22 23:32:06 +01:00
..
cpu sh: Add KEEP order to start.o section 2011-03-16 10:16:34 +09:00
include/asm sh: add support for sh7757lcr board 2011-02-02 16:38:41 +09:00
lib sh: Add handling of CONFIG_SYS_NO_FLASH for board.c 2011-03-16 10:16:34 +09:00
config.mk Introduce a new linker flag LDFLAGS_FINAL 2011-03-22 23:32:06 +01:00