Re: [OE-core][PATCH v2] linux-firmware: Move all firmware into sub-packages

Ross Burton
2025-10-09T14:24:17Z

On 7 Oct 2025, at 16:46, Ryan Eatmon via lists.openembedded.org <reatmon=ti.com@lists.openembedded.org> wrote:
>
> A lot of the firmware has already been broken out into sub-packages, but
> a good number were still lingering in the base linux-firmware package.
>
> This patch does two things:
>
> 1) Move all of the remaining firmware into sub-packages based on the
> driver name in the WHENCE file or into existing sub-packages where a
> file or two were missed.
>
> 2) Create a new REMOVE_UNLICENSED variable and do_install() logic to
> allow for marking certain firmware files as something to remove and not
> package up. The intention is that in the WHENCE file, a number of
> firmware files have no license information or very questionable
> declarations as to what the license is for the firmware.

I’m tempted to ask for (1) and (2) to be split into separate patches, but importantly this empties PN but doesn’t set ALLOW_EMPTY, so the meta-package to let you install all the firmware no longer exists.

Can you set ALLOW_EMPTY:${PN} = “1” so that linux-firmware is still built (albeit empty).

Ross