]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.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)
committerSteve Sakoman <steve@sakoman.com>
Fri, 25 Nov 2022 16:16:14 +0000 (06:16 -1000)
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>
(cherry picked from commit 26ed998c4f201c5cacf330f52e51e416afbd300c)
Signed-off-by: Steve Sakoman <steve@sakoman.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"