[meta-freescale] [meta-fsl-arm-extra][PATCH 1/2] linux-riotboard: Add separate riotboard kernel recipe

Nikolay Dimitrov picmaster at mail.bg
Tue Apr 28 11:45:27 PDT 2015


Hi Otavio,

On 04/28/2015 09:33 PM, Otavio Salvador wrote:
> On Tue, Apr 28, 2015 at 3:19 PM, Nikolay Dimitrov <picmaster at mail.bg> wrote:
>> Hi Otavio,
>>
>> On 04/27/2015 07:26 PM, Otavio Salvador wrote:
>>>>>
>>>>> I want to check with you if you really want to have a dedicated
>>>>> recipe. For bugfixes (as now) you can use a bbappend as a temporary
>>>>> solution and, at end of the day, easy to remove once this is fixed in
>>>>> the kernel.
>>>>>
>>>>> Please let me know your thoughts...
>>>>
>>>>
>>>>
>>>> Do you mean something like this (bbappend in meta-fsl-arm-extra)?
>>>>
>>>> diff --git a/recipes-kernel/linux/linux-fslc_4.0.bbappend
>>>> b/recipes-kernel/linux/linux-fslc_4.0.bbappend
>>>> new file mode 100644
>>>> index 0000000..d7a4e72
>>>> --- /dev/null
>>>> +++ b/recipes-kernel/linux/linux-fslc_4.0.bbappend
>>>> @@ -0,0 +1,3 @@
>>>> +FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
>>>> +
>>>> +SRC_URI_imx6dl-riotboard = "file://riotboard-specific.patch"
>>>
>>>
>>> Yes.
>>
>>
>> Just wanted to follow-up this technical topic. Even if considering that
>> it's not of an urgent topic anymore, it would be good to have working
>> path forward.
>>
>> The bbappend proposal above doesn't work. Here's my bbappend code
>> (layer meta-fsl-arm-extra):
>>
>>
>> diff --git a/recipes-kernel/linux/linux-fslc_4.0.bbappend
>> b/recipes-kernel/linux/linux-fslc_4.0.bbappend
>> new file mode 100644
>> index 0000000..4bf2349
>> --- /dev/null
>> +++ b/recipes-kernel/linux/linux-fslc_4.0.bbappend
>> @@ -0,0 +1,4 @@
>> +FILESEXTRAPATHS_append := ":${THISDIR}/${PN}-4.0"
>> +
>> +# Riotboard specific patch
>> +SRC_URI_imx6dl-riotboard +=
>> "file://0001-Revert-mmc-sdhci-esdhc-imx-Call-mmc_of_parse.patch"
>>
>>
>> This doesn't work out for reasons beyond my expertise:
>
> SRC_URI_append_imx6dl-riotboard = " file://riotboard-specific.patch"

That works, thanks a lot!

Regards,
Nikolay

PS: Sometimes I feel that Bitbake is Turing-complete, intelligent and
even can vote... :D


More information about the meta-freescale mailing list