bitbake: bitbake: tests: Add tests for BBMASK in multiconfig

Adds a test to validate that multiconfigs can independently mask off
recipes by setting BBMASK. See the test description for further
information about how the test works.

(Bitbake rev: 513fc2dddf13d5e344162c26d89d2dde2fe85634)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Joshua Watt
2020-06-05 22:15:35 -05:00
committed by Richard Purdie
parent 59fb65f742
commit c90dd50939
6 changed files with 28 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
python () {
if d.getVar("BB_CURRENT_MC") == "mc1":
bb.fatal("Multiconfig is mc1")
}

View File

@@ -0,0 +1,4 @@
python () {
if d.getVar("BB_CURRENT_MC") == "mc2":
bb.fatal("Multiconfig is mc2")
}