[yocto] Help with DISTRO settings

Khem Raj raj.khem at gmail.com
Mon Jul 25 20:34:32 PDT 2016


> On Jul 25, 2016, at 8:31 PM, Edward Wingate <edwingate8 at gmail.com> wrote:
> 
> On Mon, Jul 25, 2016 at 1:27 AM, Nicolas Dechesne
> <nicolas.dechesne at linaro.org> wrote:
>> hmm. you shouldn't set DISTRO in conf/layer.conf, that doesn't sound
>> right. DISTRO needs to be set in local.conf (or any of the other build
>> specific conf files).
> 
> I agree, I don't know why I had it in conf/layer.conf.  Just
> beginner's mistake.
> 
> I moved DISTRO to local.conf (changed the existing DISTRO ?= "poky" to
> DISTRO ?= "mydistro") and it still works.  But if I remove DISTRO from
> conf/distro/mydistro.conf, DISTRO will revert to "poky", even though
> it is set to my "mydistro" in local.conf.  So it seems I have to have
> it in both places.

in your mydistro.conf you should first set the settings that you want to customize
then include conf/distro/poky.conf not other way around. May be we should change poky.conf
to use ??= so the substitution happens at the end of parsing. but thats for another time.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 204 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160725/8772f614/attachment.pgp>


More information about the yocto mailing list