summaryrefslogtreecommitdiffstats
path: root/rules/barebox.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2013-09-27 17:08:38 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2013-09-29 11:24:32 +0200
commit4e8c8996f2a1b3eb75677188ac461758d10fe1a8 (patch)
tree12f730f92f3a9a98a7f2d50357e33a6ebe35fc05 /rules/barebox.make
parentfa10bceaa5f02d27423ac37bfcc173608e31fb7a (diff)
downloadptxdist-4e8c8996f2a1b3eb75677188ac461758d10fe1a8.tar.gz
ptxdist-4e8c8996f2a1b3eb75677188ac461758d10fe1a8.tar.xz
barebox: add wrapper blacklist
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/barebox.make')
-rw-r--r--rules/barebox.make14
1 files changed, 12 insertions, 2 deletions
diff --git a/rules/barebox.make b/rules/barebox.make
index cfbca80a6..375c6e3cb 100644
--- a/rules/barebox.make
+++ b/rules/barebox.make
@@ -32,7 +32,16 @@ BAREBOX_CONFIG := $(call remove_quotes, $(PTXDIST_PLATFORMCONFIGDIR)/$(PTXCONF_B
# Prepare
# ----------------------------------------------------------------------------
-BAREBOX_ENV := KCONFIG_NOTIMESTAMP=1
+BAREBOX_WRAPPER_BLACKLIST := \
+ TARGET_HARDEN_RELRO \
+ TARGET_HARDEN_BINDNOW \
+ TARGET_HARDEN_PIE \
+ TARGET_DEBUG
+
+BAREBOX_ENV := \
+ KCONFIG_NOTIMESTAMP=1 \
+ pkg_wrapper_blacklist="$(BAREBOX_WRAPPER_BLACKLIST)"
+
BAREBOX_MAKEVARS := \
V=$(PTXDIST_VERBOSE) \
HOSTCC=$(HOSTCC) \
@@ -90,7 +99,8 @@ endif
$(STATEDIR)/barebox.compile:
@$(call targetinfo)
- @cd $(BAREBOX_DIR) && $(BAREBOX_PATH) $(MAKE) $(BAREBOX_MAKEVARS)
+ @cd $(BAREBOX_DIR) && $(BAREBOX_PATH) $(BAREBOX_ENV) \
+ $(MAKE) $(BAREBOX_MAKEVARS)
@$(call touch)
# ----------------------------------------------------------------------------