[Buildroot] [PATCH 1/1] linux:linux.mk: Add "firmware-imx" dependency if needed

Charlie Leger c.leger at borea-dental.com
Wed May 4 10:00:40 UTC 2022


Hi Baruch,

Thank you for your review

Le 04/05/2022 à 11:43, Baruch Siach a écrit :
> Hi Leger,
>
> On Wed, May 04 2022, Leger Charlie wrote:
>> Since SDMA firmwares for imx[6,7,8] are now provided only by firmware-imx package and not linux-firmware package [1].
>> Linux build can failed if depending on firmware imx, so add firmware-imx dependency on linux if package is checked.
> What build failure do you see when firmware-imx does not install before
> kernel build? As far as I can see firmware files are only used at
> run-time.
Failure will happens only for specific kernel configuration which used 
"CONFIG_EXTRA_FIRMWARE" option [1], which allow to built-in firmware.
If firmware needed belongs to "firmware-imx" package, linux build will 
failed.

Charlie,

https://cateee.net/lkddb/web-lkddb/EXTRA_FIRMWARE.html
>
> baruch
>
>> [1]http://lists.busybox.net/pipermail/buildroot/2021-January/603807.html
>>
>> Signed-off-by: Leger Charlie<c.leger at borea-dental.com>
>> ---
>>   linux/linux.mk | 1 +
>>   1 file changed, 1 insertion(+)
>>
>> diff --git a/linux/linux.mk b/linux/linux.mk
>> index 7ff7b05042..e40672ceca 100644
>> --- a/linux/linux.mk
>> +++ b/linux/linux.mk
>> @@ -73,6 +73,7 @@ LINUX_INSTALL_IMAGES = YES
>>   LINUX_DEPENDENCIES = host-kmod \
>>   	$(if $(BR2_PACKAGE_INTEL_MICROCODE),intel-microcode) \
>>   	$(if $(BR2_PACKAGE_LINUX_FIRMWARE),linux-firmware) \
>> +	$(if $(BR2_PACKAGE_FREESCALE_IMX),firmware-imx) \
>>   	$(if $(BR2_PACKAGE_WIRELESS_REGDB),wireless-regdb)
>>   
>>   # Starting with 4.16, the generated kconfig paser code is no longer

-- 

Charlie LEGER

Embedded Software Technician

Technicien Logiciel Embarqué

	Logo Borea
------------------------------------------------------------------------

6 allée Duke Ellington, Ester Technopole - 87100 Limoges - France

Téléphone +33(0)9 83 71 71 61 Mobile +33(0)6 98 30 25 64

Facebook <https://www.facebook.com/borea.dental> 	Linkedin 
<https://www.linkedin.com/company/borea-sas/> 	Instagram 
<https://www.instagram.com/borea_dental/> 	YouTube 
<https://www.youtube.com/channel/UCWFQZnXjcyDNcwObpPsXt6w/> 
www.borea-dental.com <https://www.borea-dental.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20220504/815efd2e/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4zyn20n1LDRugeUg.png
Type: image/png
Size: 3273 bytes
Desc: not available
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20220504/815efd2e/attachment-0007.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t9Da00w1e1uMDg0w.png
Type: image/png
Size: 5259 bytes
Desc: not available
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20220504/815efd2e/attachment-0008.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: a8FlAhR0c9mqQXi0.png
Type: image/png
Size: 5234 bytes
Desc: not available
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20220504/815efd2e/attachment-0009.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 94G3bnWNuuePjrf0.png
Type: image/png
Size: 384 bytes
Desc: not available
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20220504/815efd2e/attachment-0010.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0O1dTZaBG06S0ngx.png
Type: image/png
Size: 398 bytes
Desc: not available
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20220504/815efd2e/attachment-0011.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v9G2aeM1DWM0E5Ft.png
Type: image/png
Size: 1510 bytes
Desc: not available
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20220504/815efd2e/attachment-0012.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bR0Opzk6afXL0J0u.png
Type: image/png
Size: 1358 bytes
Desc: not available
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20220504/815efd2e/attachment-0013.png>


More information about the buildroot mailing list