diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2018-04-05 09:23:32 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2018-04-05 09:23:34 +0200 |
commit | 3f4d29c3c03c59dfe6497556a8f729aacfddfc93 (patch) | |
tree | d61276dbd542e09ad99cdc3544ab8ca6dc9b6289 | |
parent | f055486eb2cda8f0c726c7343282cd761ed6bbad (diff) | |
download | barebox-3f4d29c3c03c59dfe6497556a8f729aacfddfc93.tar.gz barebox-3f4d29c3c03c59dfe6497556a8f729aacfddfc93.tar.xz |
ARM: zbarebox: Fix linking with new ld
Based on "333ff7b1e Fix linking with new ld, based on u-boot" Fix
building for the single PBL case aswell.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r-- | arch/arm/pbl/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/pbl/Makefile b/arch/arm/pbl/Makefile index c45511261d..5d7e85b373 100644 --- a/arch/arm/pbl/Makefile +++ b/arch/arm/pbl/Makefile @@ -37,6 +37,9 @@ LDFLAGS_zbarebox += -pie else LDFLAGS_zbarebox += -static endif + +LDFLAGS_zbarebox += $(call ld-option, --no-dynamic-linker) + zbarebox-common := $(barebox-pbl-common) $(obj)/$(piggy_o) zbarebox-lds := $(obj)/zbarebox.lds |