On Thu, Oct 16, 2014 at 5:25 AM, [email protected]
<[email protected]> wrote:
>>>> -inherit kernel fsl-kernel-localversion
>>>
>>> Why?
>>>
>>> [Zongchun]Regarding kernel class. a new file named linux-yocto.inc is 
>>> included in the following lines. This file has already inherited kernel 
>>> class.
>>> Regarding fsl-kernel-localversion class. After including
>>> linux-yocto.inc. the .config is generated in kernel_configme task which is 
>>> before configure task. So the blocks in fsl-kernel-localversion class are 
>>> not the same with Linux recipe.
>
>>So we ought to fix the class to work in both ways and avoid duplicating this 
>>code.
> [Zongchun]Maybe we can move the blocks to kernel-yocto.bbclass in poky. So 
> both arm and ppc can use this code in future.

This is indeed a good solution; ideally it'd be moved to
kernel.bbclass so everyone using the class code avoid duplicating this
code.

In meanwhile we can try to adapt the class to fulfill our needs.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
-- 
_______________________________________________
meta-freescale mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-freescale

Reply via email to