Bug 15542

Summary: multiconfig doesn't support BBLAYERS configuration
Product: [Build System, Metadata & Runtime] BitBake Reporter: lxy204899
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED INVALID QA Contact:
Severity: enhancement    
Priority: Undecided CC: poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: 0.0.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description lxy204899 2024-07-03 09:25:01 UTC
In a given scenario, for example, if I have two self-developed layers, called as layer A and layer B. Layer B contains some bbappend files. I want to increase the configuration of layer B through multiconfig. But, I do not want the content of layer B's bbappend files to affect the configuration of other layers(layer A), so I do not want to add layer B to bblayers.conf. I only want to add layer B when multiconfig is enabled, but I have not found a good method to do so.

It would be inconvenient to conditionally judge the content of layer B's bbappend files, and I do not want to do it that way.
Comment 1 Richard Purdie 2024-07-04 14:49:02 UTC
This isn't something we'd recommend or support. The bugzilla isn't really a support channel for questions either, the mailing lists would be more appropriate.

FWIW you probably can change the bbappend inclusion by changing BBFILES in the different multiconfigs.