[meta-freescale] Using a defconfig refers to an in-tree defconfig file

Otavio Salvador otavio at ossystems.com.br
Wed Feb 26 05:04:37 PST 2014


On Wed, Feb 26, 2014 at 2:37 AM, John Weber <rjohnweber at gmail.com> wrote:
>
> On 2/25/14, 4:10 PM, Eric Nelson wrote:
>>
>> Hi John,
>>
>> On 02/25/2014 02:29 PM, John Weber wrote:
>>>
>>> I thought I would bounce this one of the mailing list.
>>>
>>> Is there any reason why we shouldn't simply use the defconfig from the
>>> kernel tree if appropriate?
>>>
>>> We would do this by the defconfig file in the recipe refer to a filename
>>> in the kernel tree. For example, in the file
>>> recipes-kernel/linux/linux-wandboard-3.10.17/defconfig would be a single
>>> line:
>>>
>>>     use-kernel-config=wandboard_defconfig
>>>
>>
>> In general, +1 from our end.
>>
>> The primary down-side is that the Yocto needs may differ from other
>> distributions, but then again, any particular user will likely
>> want to tweak a bit anyway.
>
> Well, I thought all was good with this little trick, but as it turns out
> that is not the case.
>
> I saw this being done within meta-ti kernel recipes and thought it was
> pretty nifty, but each recipe includes this file:
>
> https://git.yoctoproject.org/cgit/cgit.cgi/meta-ti/tree/recipes-kernel/linux/setup-defconfig.inc
>
> So, this is a non-standard feature.  It would be nice to know what others
> think.
>
> And, Otavio, I was too quick to be happy regarding our conversation today...
> :-)

No problem :-)

Personally I don't like to add BSP specific features; I think we can
try to come up with a solution for it but we must work at OE-Core
basis and than use it here.

Having specific features makes harder for users to use the provided
documentation ...

My 2c...

-- 
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


More information about the meta-freescale mailing list