[yocto] [PATCH 6/9] distro: Factor out poky-common.inc from poky.conf
Darren Hart
dvhart at linux.intel.com
Wed Dec 21 08:47:55 PST 2011
On 12/21/2011 08:28 AM, Richard Purdie wrote:
> On Wed, 2011-12-21 at 01:02 -0800, Darren Hart wrote:
>> Prepare to add additional poky distro variants by factoring out
>> assignments common to all poky* distros into poky-common.inc. Things
>> like the naming schemes, mirrors, etc. are common, while dependencies
>> and other things impacting image generation should be distro specific.
>>
>> Signed-off-by: Darren Hart <dvhart at linux.intel.com>
>
> Why doesn't something like:
>
> """
> $meta-yocto/conf/distro$ cat poky-lsb.conf
> require conf/distro/poky.conf
>
> DISTRO = "poky-lsb"
> DISTROOVERRIDES = "poky:linuxstdbase"
> """
>
> work?
>
> Effectively the above takes poky but then customises it...
I seem to recall something about this being harder with tiny as it
removes things rather than just extending. But I can't put recall
exactly what the issue was (or if there was one). I shall try it this
way if you prefer this approach. I felt the .inc approach provided a
more explicit building block mechanism which seemed more intuitive and
less prone to accidental inclusion. But, I don't feel strongly one way
or the other.
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
More information about the yocto
mailing list