images: Use separate LDFLAGS for PBL
When setting CONFIG_PBL_RELOCATABLE=y (selected by PBL_MULTI_IMAGES) and
CONFIG_RELOCATABLE=n (trying to reduce image size), the PBL is also
linked with "-static" instead of "-pie". The result is a non-working
PBL.

As a side effect, also get rid of erroneous "-Map barebox.map" when
linking the PBL.

Only changed for ARM, are any other platforms affected?

Signed-off-by: Christian Eggers <ceggers@arri.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 9fcd7fc commit 07c4c069475fec43bd99e021afb3839d7b27fd5a
@Christian Eggers Christian Eggers authored on 27 Jan 2020
Sascha Hauer committed on 10 Feb 2020
Showing 4 changed files
View
Makefile
View
arch/arm/Makefile
View
arch/mips/Makefile
View
images/Makefile