diff mbox series

[v3,3/3] linux-firmware: Set FILES to ""

Message ID 20251010160842.28715-3-reatmon@ti.com
State New
Headers show
Series [v3,1/3] linux-firmware: Move all firmware into sub-packages | expand

Commit Message

Ryan Eatmon Oct. 10, 2025, 4:08 p.m. UTC
Now that all of the current firmware has either been moved into
sub-packages or removed due to licensing the base package is now
empty. Going forward we would like to keep the base package empty
and force the version updates to bin any new firmwares into
sub-packages.

Signed-off-by: Ryan Eatmon <reatmon@ti.com>
---
v3: Split single patch into three patches, and add ALLOW_EMPTY.

 .../linux-firmware/linux-firmware_20250917.bb             | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

Comments

Peter Kjellerstedt Oct. 10, 2025, 6:55 p.m. UTC | #1
> -----Original Message-----
> From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Ryan Eatmon via lists.openembedded.org
> Sent: den 10 oktober 2025 18:09
> To: openembedded-core@lists.openembedded.org
> Subject: [OE-core][PATCH v3 3/3] linux-firmware: Set FILES to ""
> 
> Now that all of the current firmware has either been moved into
> sub-packages or removed due to licensing the base package is now
> empty. Going forward we would like to keep the base package empty
> and force the version updates to bin any new firmwares into
> sub-packages.
> 
> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
> ---
> v3: Split single patch into three patches, and add ALLOW_EMPTY.
> 
>  .../linux-firmware/linux-firmware_20250917.bb             | 8 +++++++-
>  1 file changed, 7 insertions(+), 1 deletion(-)
> 
> diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20250917.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20250917.bb
> index 4efdc73a45..9a12f45435 100644
> --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20250917.bb
> +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20250917.bb
> @@ -3311,8 +3311,14 @@ LICENSE:${PN} = "\
>      & WHENCE \
>  "
> 
> +# The goal for this recipe is to creata bunch of breakout packages for the

creata -> create a

> +# firmware so that you can choose which files to include and not have to pull
> +# them all in.  To that end, we do want any files to be part of the

do want -> do not want

> +# linux-firmware package.  So set it to "".  Do not change this.
> +FILES:${PN} = ""
> +ALLOW_EMPTY:${PN} = "1"
> +
>  FILES:${PN}-license += "${nonarch_base_libdir}/firmware/LICEN*"
> -FILES:${PN} += "${nonarch_base_libdir}/firmware/*"
>  RDEPENDS:${PN} += "${PN}-license"
>  RDEPENDS:${PN} += "${PN}-whence-license"
> 
> --
> 2.17.1

//Peter
Ryan Eatmon Oct. 10, 2025, 6:56 p.m. UTC | #2
On 10/10/2025 1:55 PM, Peter Kjellerstedt wrote:
>> -----Original Message-----
>> From: openembedded-core@lists.openembedded.org <openembedded-core@lists.openembedded.org> On Behalf Of Ryan Eatmon via lists.openembedded.org
>> Sent: den 10 oktober 2025 18:09
>> To: openembedded-core@lists.openembedded.org
>> Subject: [OE-core][PATCH v3 3/3] linux-firmware: Set FILES to ""
>>
>> Now that all of the current firmware has either been moved into
>> sub-packages or removed due to licensing the base package is now
>> empty. Going forward we would like to keep the base package empty
>> and force the version updates to bin any new firmwares into
>> sub-packages.
>>
>> Signed-off-by: Ryan Eatmon <reatmon@ti.com>
>> ---
>> v3: Split single patch into three patches, and add ALLOW_EMPTY.
>>
>>   .../linux-firmware/linux-firmware_20250917.bb             | 8 +++++++-
>>   1 file changed, 7 insertions(+), 1 deletion(-)
>>
>> diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20250917.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20250917.bb
>> index 4efdc73a45..9a12f45435 100644
>> --- a/meta/recipes-kernel/linux-firmware/linux-firmware_20250917.bb
>> +++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20250917.bb
>> @@ -3311,8 +3311,14 @@ LICENSE:${PN} = "\
>>       & WHENCE \
>>   "
>>
>> +# The goal for this recipe is to creata bunch of breakout packages for the
> 
> creata -> create a

That's what I get for typing too fast and not spell checking.  Do I need 
to a v4?


>> +# firmware so that you can choose which files to include and not have to pull
>> +# them all in.  To that end, we do want any files to be part of the
> 
> do want -> do not want
> 
>> +# linux-firmware package.  So set it to "".  Do not change this.
>> +FILES:${PN} = ""
>> +ALLOW_EMPTY:${PN} = "1"
>> +
>>   FILES:${PN}-license += "${nonarch_base_libdir}/firmware/LICEN*"
>> -FILES:${PN} += "${nonarch_base_libdir}/firmware/*"
>>   RDEPENDS:${PN} += "${PN}-license"
>>   RDEPENDS:${PN} += "${PN}-whence-license"
>>
>> --
>> 2.17.1
> 
> //Peter
>
diff mbox series

Patch

diff --git a/meta/recipes-kernel/linux-firmware/linux-firmware_20250917.bb b/meta/recipes-kernel/linux-firmware/linux-firmware_20250917.bb
index 4efdc73a45..9a12f45435 100644
--- a/meta/recipes-kernel/linux-firmware/linux-firmware_20250917.bb
+++ b/meta/recipes-kernel/linux-firmware/linux-firmware_20250917.bb
@@ -3311,8 +3311,14 @@  LICENSE:${PN} = "\
     & WHENCE \
 "
 
+# The goal for this recipe is to creata bunch of breakout packages for the
+# firmware so that you can choose which files to include and not have to pull
+# them all in.  To that end, we do want any files to be part of the
+# linux-firmware package.  So set it to "".  Do not change this.
+FILES:${PN} = ""
+ALLOW_EMPTY:${PN} = "1"
+
 FILES:${PN}-license += "${nonarch_base_libdir}/firmware/LICEN*"
-FILES:${PN} += "${nonarch_base_libdir}/firmware/*"
 RDEPENDS:${PN} += "${PN}-license"
 RDEPENDS:${PN} += "${PN}-whence-license"