diff options
author | Peter Kjellerstedt <peter.kjellerstedt@axis.com> | 2025-09-16 23:19:33 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-04 11:16:43 +0100 |
commit | 791bf5a43dabd8232e4f2e8ef9ded13a7d959400 (patch) | |
tree | 47552d46db20a981a82d8bbed79b52356aa3ddaf /bitbake/lib/bb/tests/parse.py | |
parent | 9ed0d68be24cea025c3268240ca6b25265915c79 (diff) | |
download | poky-791bf5a43dabd8232e4f2e8ef9ded13a7d959400.tar.gz |
bitbake: parse: Make include_all support empty variable expansions
include and require support empty variable expansions, typically used
with conditional expansions. However, include_all does not, and instead
reports an error for the first path in BBPATH.
Rewrite include_all so that its behavior matches include and require.
(Bitbake rev: 010928ceac48b20e6ab530f8e256b72201b778ec)
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tests/parse.py')
-rw-r--r-- | bitbake/lib/bb/tests/parse.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tests/parse.py b/bitbake/lib/bb/tests/parse.py index d3867ece98..2f77c90f60 100644 --- a/bitbake/lib/bb/tests/parse.py +++ b/bitbake/lib/bb/tests/parse.py | |||
@@ -499,6 +499,7 @@ EXTRA_OECONF:append = " foobar" | |||
499 | test_helper("include_all some.conf", " foo bar") | 499 | test_helper("include_all some.conf", " foo bar") |
500 | test_helper("include_all someother.conf", None) | 500 | test_helper("include_all someother.conf", None) |
501 | test_helper("include_all some3.conf", " foobar") | 501 | test_helper("include_all some3.conf", " foobar") |
502 | test_helper("include_all ${@''}", None) | ||
502 | 503 | ||
503 | self.d.setVar("BBPATH", tempdir + "/conf2" + ":" + tempdir + "/conf1") | 504 | self.d.setVar("BBPATH", tempdir + "/conf2" + ":" + tempdir + "/conf1") |
504 | 505 | ||