mirror of
https://xff.cz/git/u-boot/
synced 2025-08-31 08:12:06 +02:00
Kbuild: add LDFLAGS_STANDALONE
Introduce a new Makefile variable for passing LDFLAGS to standalone programs. Currently the variable CONFIG_STANDALONE_LOAD_ADDR is misued on some archs to pass a specific linker script. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Rick Chen <rick@andestech.com>
This commit is contained in:
@@ -15,6 +15,7 @@ PLATFORM_CPPFLAGS :=
|
||||
PLATFORM_LDFLAGS :=
|
||||
LDFLAGS :=
|
||||
LDFLAGS_FINAL :=
|
||||
LDFLAGS_STANDALONE :=
|
||||
OBJCOPYFLAGS :=
|
||||
# clear VENDOR for tcsh
|
||||
VENDOR :=
|
||||
@@ -75,4 +76,5 @@ LDFLAGS_FINAL += -Bstatic
|
||||
export PLATFORM_CPPFLAGS
|
||||
export RELFLAGS
|
||||
export LDFLAGS_FINAL
|
||||
export LDFLAGS_STANDALONE
|
||||
export CONFIG_STANDALONE_LOAD_ADDR
|
||||
|
Reference in New Issue
Block a user