u-boot-brain/arch/nios2
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 Remove redundant config.mk files 2010-12-09 10:25:56 +01:00
include/asm nios2: add gpio_is_valid 2011-02-08 08:29:53 -05:00
lib Switch from archive libraries to partial linking 2010-11-17 21:02:18 +01:00
config.mk Introduce a new linker flag LDFLAGS_FINAL 2011-03-22 23:32:06 +01:00