]> 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>
Mon, 6 Oct 2025 13:08:52 +0000 (14:08 +0100)
commita84ea657d4ff955ea27d3c2518e7eb124f4e61d9
tree9b876ee286618e693210ff696101a5c594045971
parentd83ff28157aaa9322f98b8da5dd50b562085085a
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