On Thu, 26 Sept 2024 at 05:09, Guo, Yanmei via lists.yoctoproject.org <yanmei.guo=boeing....@lists.yoctoproject.org> wrote: > Trying to understand the sequence of conf file parsing when bitbake is > running a build. > As a typical yocto project, we generally have local.conf, bblayers.conf, > multiconfig/xxx.conf and distro.conf etc, > serving for different purposes. Is there a defined sequence in terms of which > conf file is parsed first, which is last? > Especally, I am interested to know if `BBLAYERS` can be appended > conditionally depending on a variable defined in a multiconfig file.
It cannot. Perhaps it would help if you explain the use case. Why do you need to include a layer (or not) depending on some variable? What would happen if you simply always include it? Can you create two separate build configurations, one with the layer, and another without? Generally it's a sign of badly written layer if merely including it causes unwanted side effects, and that's the problem that should be addressed. Alex
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#63893): https://lists.yoctoproject.org/g/yocto/message/63893 Mute This Topic: https://lists.yoctoproject.org/mt/108661552/21656 Mute #yocto:https://lists.yoctoproject.org/g/yocto/mutehashtag/yocto Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-