From f8dfd3224735836c5926b0b044111114347d1c73 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Tue, 8 Nov 2022 16:02:07 +0000 Subject: 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 Signed-off-by: Alexandre Belloni (cherry picked from commit 26ed998c4f201c5cacf330f52e51e416afbd300c) Signed-off-by: Steve Sakoman Signed-off-by: Richard Purdie --- meta/recipes-kernel/linux-firmware/linux-firmware_20221012.bb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-kernel') 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" # 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" -- cgit v1.2.3-54-g00ecf