Bug 15542 - multiconfig doesn't support BBLAYERS configuration
Summary: multiconfig doesn't support BBLAYERS configuration
Status: RESOLVED INVALID
Alias: None
Product: BitBake
Classification: Build System, Metadata & Runtime
Component: bitbake (show other bugs)
Version: unspecified
Hardware: x86 Multiple
: Undecided enhancement
Target Milestone: 0.0.0
Assignee: Richard Purdie
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2024-07-03 09:25 UTC by lxy204899
Modified: 2024-07-04 14:49 UTC (History)
2 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.