diff options
author | Ross Burton <ross.burton@arm.com> | 2025-06-27 14:48:37 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-07-01 08:49:37 +0100 |
commit | c02b7accd54ea657da9d771814b3dc92d0591127 (patch) | |
tree | d4fbc022131a49823a701e6c9b0ee84e6b8625d7 /scripts/lib | |
parent | 9a6cf0d4554e1835f90a746cea0759e2439b71f7 (diff) | |
download | poky-c02b7accd54ea657da9d771814b3dc92d0591127.tar.gz |
bitbake: tinfoil: add wait_for decorator and build_file_sync() helper
The bitbake worker/server IPC is asynchronous, but tinfoil only has
functionality to wait for a response on the build_targets() call.
Extract the bulk of the "wait for events and handle errors" logic to a
standalone wait_for wrapper, which is the build_targets code without the
extra_events or event_callback arguments (for now).
Then use this to create a build_file_sync() helper that just wraps the
existing build_file() with @wait_for.
(Bitbake rev: bacd125a9da66cd205f6ba2ab17930b976e82150)
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib')
0 files changed, 0 insertions, 0 deletions