diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-03 16:11:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-07 13:53:07 +0100 |
commit | dfb84b1b1c6595a3f69242d1486da669c0979fec (patch) | |
tree | 35374071e02b94c1f6fc6b5bac5149dfd23f7681 /scripts/lib/devtool/import.py | |
parent | de3be5e23611f9ef082b5c4e8df61f81f1b69c8d (diff) | |
download | poky-dfb84b1b1c6595a3f69242d1486da669c0979fec.tar.gz |
bitbake: ast: Fix fragment behaviour with overrides
Imagine a machine fragment machine/A and a configuration which sets:
MACHINE = "B"
MACHINE:forcevariable = "C"
As I understand it, the fragment behaviour was intended to replace the
MACHINE = "B", so the override would still be active. The current code
replaces all variable overrides.
parsing=True, switches to the other behaviour, which I believe was the
design intent and the behaviour users would expect.
This is useful to allow test configurations to override a MACHINE setting
without change the fragments which would complicate the test code.
(Bitbake rev: 6b4882a55567d440713ee34d81810167cd958d56)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/devtool/import.py')
0 files changed, 0 insertions, 0 deletions