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 <abbo...@mev.co.uk> --- rules/barebox_mlo.make | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.13.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de