summaryrefslogtreecommitdiffstats
path: root/rules
diff options
context:
space:
mode:
authorIan Abbott <abbotti@mev.co.uk>2017-08-02 14:51:01 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-08-03 09:00:21 +0200
commit22c4eb289f151c4aba96a7906a57fb811392bfb3 (patch)
tree7d9f59bd26e2bdd8ed4fcd08ed5cf2544eccad9b /rules
parent23f71019ab92041f3d21f5220443b7b5ced32ca8 (diff)
downloadptxdist-22c4eb289f151c4aba96a7906a57fb811392bfb3.tar.gz
ptxdist-22c4eb289f151c4aba96a7906a57fb811392bfb3.tar.xz
barebox_mlo: blacklist TARGET_BUILD_ID
We don't want build-id information in the barebox_mlo binaries. It also results in a build failure for Altera SOCFPGA with some toolchains that end up outputting the ".note.gnu.build-id" section before the ".text" section, which causes barebox's "scripts/fix_size" program to report "invalid magic" in the file it is operating on and exit with a failure. Fixes: 56b1e28fdbf78 ("Debugging: add support for 'build-id's") Signed-off-by: Ian Abbott <abbotti@mev.co.uk> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules')
-rw-r--r--rules/barebox_mlo.make3
1 files changed, 2 insertions, 1 deletions
diff --git a/rules/barebox_mlo.make b/rules/barebox_mlo.make
index b5489bdf8..d22a289cc 100644
--- a/rules/barebox_mlo.make
+++ b/rules/barebox_mlo.make
@@ -35,7 +35,8 @@ BAREBOX_MLO_WRAPPER_BLACKLIST := \
TARGET_HARDEN_RELRO \
TARGET_HARDEN_BINDNOW \
TARGET_HARDEN_PIE \
- TARGET_DEBUG
+ TARGET_DEBUG \
+ TARGET_BUILD_ID
BAREBOX_MLO_PATH := PATH=$(CROSS_PATH)
BAREBOX_MLO_CONF_ENV := KCONFIG_NOTIMESTAMP=1