[yocto] bbappend files and "ERROR: no recipes available for"
Markus Svilans
msvilans at aeonyx.ca
Fri Nov 1 13:18:57 PDT 2013
Hi Søren,
Thanks very much for the suggestion. It worked.
On the subject, I noticed you have to be careful when using "+=" and
"=+" to append to variables in bb files. Here is my bbappend file, with
the proper operator after the PACKAGES variable:
> # Cherrypick the firmware files that we need:
>
> PACKAGES =+ " ${PN}-rtl8168d-1"
>
> FILES_${PN}-rtl8168d-1 = " \
> /lib/firmware/rtl_nic/rtl8168d-1.fw \
> "
Previously I had "+=", and my custom rtl8168 package file was not being
generated.
Regards,
Markus
On 11/01/2013 03:48 PM, Søren Holm wrote:
> Hi
>
> Rename your bbappend-file to the exact name of the original recipe.
>
> 1.5 (dora) contains linux-firmware_git.bb in which case the bbappend should be
> named linux-firmware_git.bbappend.
>
> Fredag den 1. november 2013 15:43:19 skrev Markus Svilans:
>> Dear list,
>>
>> I am working on a compact filesystem image, that contains firmware only
>> for the network hardware on the motherboard.
>>
>> Therefore, I created a linux-firmware.bbappend file, with the following
>>
>> contents:
>>> # Cherrypick the firmware files that we need for our hardware
>>>
>>> #FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>>>
>>> PACKAGES += "${PN}-rtl8168d-1"
>>>
>>> FILES_${PN}-rtl8168d-1 = " \
>>>
>>> /lib/firmware/rtl_nic/rtl8168d-1.fw \
>>>
>>> "
>> However, running "bitbake linux-firmware" fails with this bbappend file
>>
>> present:
>>> ERROR: No recipes available for:
>>> /home/markus/yocto/genericx86-64-dora-10.0.0/meta-markus/recipes-kernel/li
>>> nux-firmware/linux-firmware.bbappend ERROR: Command execution failed:
>>> Exited with 1
>> Other bbappend files, such as for custom kernel config for linux-yocto,
>> worked without complaints.
>>
>> So far, I was following the instructions for using bbappend files here:
>> http://www.yoctoproject.org/docs/1.5/dev-manual/dev-manual.html#using-bbappe
>> nd-files http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html
>>
>>
>> From what I can see, I am setting up my linux-firmware.bbappend file
>> consistently with the instructions.
>>
>> What am I doing wrong here?
>>
>> Thanks very much
>> Markus
>>
>>
>>
>> _______________________________________________
>> yocto mailing list
>> yocto at yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
More information about the yocto
mailing list