From 3f4d29c3c03c59dfe6497556a8f729aacfddfc93 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 5 Apr 2018 09:23:32 +0200 Subject: 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 --- arch/arm/pbl/Makefile | 3 +++ 1 file changed, 3 insertions(+) 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 -- cgit v1.2.3