linux-firmware: don't put the firmware into the sysroot

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).

(From OE-Core rev: a75f20f71b4dd964befbae2f517d0f41f02fb4fc)

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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ross Burton
2022-11-08 16:02:07 +00:00
committed by Richard Purdie
parent f237fd313e
commit f8dfd32247

View 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"