mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] u-boot: Add wrapper blacklist
@ 2018-01-31 14:57 Alexander Dahl
  2018-01-31 15:09 ` Michael Olbrich
  0 siblings, 1 reply; 3+ messages in thread
From: Alexander Dahl @ 2018-01-31 14:57 UTC (permalink / raw)
  To: ptxdist

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 <ada@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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-01  7:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-31 14:57 [ptxdist] [PATCH] u-boot: Add wrapper blacklist Alexander Dahl
2018-01-31 15:09 ` Michael Olbrich
2018-02-01  7:49   ` Alexander Dahl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox