diff mbox series

[2/3] linux-firmware: skip ldflags sanity check

Message ID 20250922172025.184116-2-ross.burton@arm.com
State New
Headers show
Series [1/3] vte: skip gobject-introspection with clang on armv7 | expand

Commit Message

Ross Burton Sept. 22, 2025, 5:20 p.m. UTC
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.

Signed-off-by: Ross Burton <ross.burton@arm.com>
---
 .../recipes-kernel/linux-firmware/linux-firmware_20250808.bb | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20250808.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20250808.bb
index be38a8edf35..d5e45e6ed8d 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20250808.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20250808.bb
@@ -2342,7 +2342,10 @@  python populate_packages:prepend () {
 
 # Firmware files are generally not ran on the CPU, so they can be
 # allarch despite being architecture specific
-INSANE_SKIP = "arch"
+INSANE_SKIP += "arch"
+
+# They can also be ELF files, but obviously won't have the linkage we expect
+INSANE_SKIP += "ldflags"
 
 # Don't warn about already stripped files
 INSANE_SKIP:${PN} = "already-stripped"