From c8da55d752bfee4e6d8f5028fcc3b82399b76d86 Mon Sep 17 00:00:00 2001 From: Alexander Dahl Date: Tue, 21 Nov 2017 15:25:40 +0100 Subject: 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 Signed-off-by: Michael Olbrich --- rules/at91bootstrap.make | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3