u-boot had the same problem as the other bootloaders (barebox,
at91bootstrap, …): much too big images were generated. Use the same
wrapper blacklist approach to prevent this like in barebox package.

Signed-off-by: Alexander Dahl <a...@thorsis.com>
---
Out of curiosity: if I wanted to find out which of those options are
necessary to add, instead of just blindly copying them. How would I do
that?

Greets
Alex
---
 rules/u-boot.make | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/rules/u-boot.make b/rules/u-boot.make
index 6dd2e43a45..94aa774580 100644
--- a/rules/u-boot.make
+++ b/rules/u-boot.make
@@ -29,6 +29,13 @@ U_BOOT_DIR   := $(BUILDDIR)/$(U_BOOT)
 # Prepare
 # ----------------------------------------------------------------------------
 
+U_BOOT_WRAPPER_BLACKLIST := \
+       TARGET_HARDEN_RELRO \
+       TARGET_HARDEN_BINDNOW \
+       TARGET_HARDEN_PIE \
+       TARGET_DEBUG \
+       TARGET_BUILD_ID
+
 U_BOOT_PATH    := PATH=$(CROSS_PATH)
 U_BOOT_MAKE_OPT        := CROSS_COMPILE=$(BOOTLOADER_CROSS_COMPILE) 
HOSTCC=$(HOSTCC)
 U_BOOT_MAKE_PAR        := NO
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to