diff options
author | Ross Burton <ross.burton@arm.com> | 2022-11-08 16:02:07 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-12-01 19:35:11 +0000 |
commit | 186ea965268cdd1f282f4fb6a64c45b291bba85f (patch) | |
tree | af4c64ebfcf1fb4848cb9cb5eb338a29fc61f7af /meta/recipes-kernel | |
parent | fe0605bd65c3688f05d4f7bbc5ea364bea139ded (diff) | |
download | poky-186ea965268cdd1f282f4fb6a64c45b291bba85f.tar.gz |
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: a433b65b18b413775a54a5ef2aba5e73cfcbca50)
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>
Diffstat (limited to 'meta/recipes-kernel')
-rw-r--r-- | meta/recipes-kernel/linux-firmware/linux-firmware_20221012.bb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20221012.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20221012.bb index 6ba59a34c2..c7ecee0d9a 100644 --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20221012.bb +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20221012.bb | |||
@@ -1121,3 +1121,6 @@ INSANE_SKIP = "arch" | |||
1121 | 1121 | ||
1122 | # Don't warn about already stripped files | 1122 | # Don't warn about already stripped files |
1123 | INSANE_SKIP:${PN} = "already-stripped" | 1123 | INSANE_SKIP:${PN} = "already-stripped" |
1124 | |||
1125 | # No need to put firmware into the sysroot | ||
1126 | SYSROOT_DIRS_IGNORE += "${nonarch_base_libdir}/firmware" | ||