]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
linux-firmware: skip ldflags sanity check
authorRoss Burton <ross.burton@arm.com>
Mon, 29 Sep 2025 17:11:22 +0000 (18:11 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Oct 2025 10:27:31 +0000 (11:27 +0100)
commit80f32d66159bda0b01be6d47835168fcfacdac86
tree2380aee47934d38e7444a17dea18e8e4fec1c2e7
parent22a2bb82c452bda9847295b5437aab1d639360ec
linux-firmware: skip ldflags sanity check

Some of the firmware blobs, for example qcom/apq8016/modem.mbn, are
actually ELF files. We don't want to hold these to our exacting standard
for link flags because we're not building them and they don't run on the
target directly.

Note that as this check parses the output of ${OBJDUMP} -p it behaves
differently with binutils vs llvm.  It looks like binutils bails early
as it doesn't know what the target architecture is, whereas LLVM is more
comprehensive in its support.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
meta/recipes-kernel/linux-firmware/linux-firmware_20250917.bb