summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Dahl <ada@thorsis.com>2017-11-21 15:25:40 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-11-23 14:28:17 +0100
commitc8da55d752bfee4e6d8f5028fcc3b82399b76d86 (patch)
tree680e1ef11829bde76607a079fb61819df64ebfa3
parentddb5ecdf0ea47d2a53c66ac49ce4d4c46fb1cdf5 (diff)
downloadptxdist-c8da55d752bfee4e6d8f5028fcc3b82399b76d86.tar.gz
ptxdist-c8da55d752bfee4e6d8f5028fcc3b82399b76d86.tar.xz
at91bootstrap: Add wrapper blacklist
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 <ada@thorsis.com> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r--rules/at91bootstrap.make11
1 files changed, 10 insertions, 1 deletions
diff --git a/rules/at91bootstrap.make b/rules/at91bootstrap.make
index eed5dc4e3..bdf7942e9 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