Skip to content
Snippets Groups Projects
Commit 6dc1eceb authored by Haiying Wang's avatar Haiying Wang Committed by Wolfgang Denk
Browse files

Introduce a new linker flag LDFLAGS_FINAL


commit 8aba9dce
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: default avatarScott Wood <scottwood@freescale.com>
Signed-off-by: default avatarHaiying Wang <Haiying.Wang@freescale.com>
parent c81c1222
No related branches found
No related tags found
Loading
Showing
with 35 additions and 22 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment