summaryrefslogtreecommitdiffstats
path: root/scripts/lib/build_perf
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@arm.com>2025-06-27 14:48:37 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-07-01 08:49:37 +0100
commitc02b7accd54ea657da9d771814b3dc92d0591127 (patch)
treed4fbc022131a49823a701e6c9b0ee84e6b8625d7 /scripts/lib/build_perf
parent9a6cf0d4554e1835f90a746cea0759e2439b71f7 (diff)
downloadpoky-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/build_perf')
0 files changed, 0 insertions, 0 deletions