]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commitdiff
classes/kernel-module-split: skip .debug files early
authorRoss Burton <ross.burton@arm.com>
Wed, 29 Apr 2026 16:48:20 +0000 (17:48 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 6 May 2026 13:02:21 +0000 (14:02 +0100)
There's no need to try and extract modinfo from .debug files as there is
none, so don't even try.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes-recipe/kernel-module-split.bbclass

index 75ed696b72c74057b308860ce07baddd4c0ced34..b30b3edd39d9820a8684bc1ab12c48db433b68c4 100644 (file)
@@ -185,6 +185,9 @@ python split_kernel_module_packages () {
 
 
     def frob_metadata(file, pkg, pattern, format, basename):
+        if "/.debug/" in file:
+            return
+
         vals = extract_modinfo(file)
         dvar = d.getVar('PKGD')