]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
linux-firmware: don't put the firmware into the sysroot
authorRoss Burton <ross.burton@arm.com>
Tue, 8 Nov 2022 16:02:07 +0000 (16:02 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 9 Nov 2022 15:42:46 +0000 (15:42 +0000)
There's no need to have linux-firmware in the sysroot. The sysroot won't
ever be used anyway as nothing needs the firmware at build-time, but this
saves us building a ~900MB sysroot (~300MB sstate tarball).

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
meta/recipes-kernel/linux-firmware/linux-firmware_20221012.bb

index 6ba59a34c2f5e5b68bf529e0fc8bca7bc3536821..c7ecee0d9a84a19d2dc3becb98ee4485e0d84332 100644 (file)
@@ -1121,3 +1121,6 @@ INSANE_SKIP = "arch"
 
 # Don't warn about already stripped files
 INSANE_SKIP:${PN} = "already-stripped"
+
+# No need to put firmware into the sysroot
+SYSROOT_DIRS_IGNORE += "${nonarch_base_libdir}/firmware"