> On Jul 25, 2016, at 8:31 PM, Edward Wingate <edwinga...@gmail.com> wrote: > > On Mon, Jul 25, 2016 at 1:27 AM, Nicolas Dechesne > <nicolas.deche...@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.
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto