This is basically the same as for at91bootstrap2 recently, however this
one has its own compile stage, so some additional lines are necessary
which I borrowed from the barebox package.

Signed-off-by: Alexander Dahl <a...@thorsis.com>
---
 rules/at91bootstrap.make | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/rules/at91bootstrap.make b/rules/at91bootstrap.make
index eed5dc4e30..bdf7942e9c 100644
--- a/rules/at91bootstrap.make
+++ b/rules/at91bootstrap.make
@@ -32,7 +32,16 @@ AT91BOOTSTRAP_DIR    := $(BUILDDIR)/$(AT91BOOTSTRAP)
 # Compile
 # ----------------------------------------------------------------------------
 
-AT91BOOTSTRAP_ENV      := CROSS_COMPILE=$(COMPILER_PREFIX)
+AT91BOOTSTRAP_WRAPPER_BLACKLIST := \
+       TARGET_HARDEN_RELRO \
+       TARGET_HARDEN_BINDNOW \
+       TARGET_HARDEN_PIE \
+       TARGET_DEBUG \
+       TARGET_BUILD_ID
+
+AT91BOOTSTRAP_ENV      := \
+    CROSS_COMPILE=$(COMPILER_PREFIX) \
+    pkg_wrapper_blacklist="$(AT91BOOTSTRAP_WRAPPER_BLACKLIST)"
 
 AT91BOOTSTRAP_BOOTMEDIA-$(PTXCONF_AT91BOOTSTRAP_BOOT_DATAFLASH) += dataflash
 AT91BOOTSTRAP_BOOTMEDIA-$(PTXCONF_AT91BOOTSTRAP_BOOT_NAND)     += nandflash
-- 
2.11.0


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

Reply via email to