diff options
author | Peter Marko <peter.marko@siemens.com> | 2025-04-22 14:29:51 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-04-24 11:27:06 +0100 |
commit | 9e2219219e6a4ccb95883978c7ba8a281e6b266f (patch) | |
tree | f672419496fc3d4eefbc8aa56bdcf5a6bcd52449 /scripts/lib/scriptpath.py | |
parent | 9a140f56b0f7420d10887e4de29b8a475a61a829 (diff) | |
download | poky-9e2219219e6a4ccb95883978c7ba8a281e6b266f.tar.gz |
ptest-cargo: handle packageconfig arguments
Align cargo options between ptest-cargo and cargo classes.
After oe-core commit 16745b20452de60ae2474433cc1a2fb1ed9f6a64 there is
a discrepancy between cargo arguments in compile and compile-ptest-cargo
steps when packageconfig is used for cargo based recipes.
Currently we have to do something like following code to build ptest
enabled cargo based recipe:
CARGO_BUILD_FLAGS:append:task-compile-ptest-cargo = " ${PACKAGECONFIG_CONFARGS}"
Otherwise the options are either doubled in compile step or completely
missing in compile-ptest-cargo step.
(From OE-Core rev: 98d03d31de4010534b1a00d29409d3486a0ab0b9)
Signed-off-by: Peter Marko <peter.marko@siemens.com>
Signed-off-by: Mathieu Dubois-Briand <mathieu.dubois-briand@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions