mbox series

[v2,0/2] bitbake --skip-deps feature

Message ID 20251230153539.3940266-1-adrian.freihofer@siemens.com
Headers show
Series bitbake --skip-deps feature | expand

Message

AdrianF Dec. 30, 2025, 3:32 p.m. UTC
From: Adrian Freihofer <adrian.freihofer@siemens.com>

Changes in comparison to v1:
- Added the first patch which adds the --skip-deps option to bitbake.
  Sorry, for the confusion.

Adds a "skip-deps" feature to run/build specific tasks without scheduling their
full dependency tree.

This is useful for devtool ide-sdk, which works like this:
- The IDE's native build system is used to build the code.
- bitbake my-recipe:do_install --skip-deps --force is run to install the built
  artifacts.
- A script based on devtool deploy-target is used to deploy the installed
  artifacts to the target device.
- The IDE's debugging features are used to debug the code on the target device.

One more commit to openembedded-core is needed to fully support this feature.
This is already prepared and tested. Branch is here:
https://git.openembedded.org/openembedded-core-contrib/log/?h=adrianf/ide-sdk-improvements

Adrian Freihofer (2):
  bitbake: add --skip-deps option to re-run tasks directly
  tests/runqueue: cover --skip-deps

 lib/bb/cookerdata.py     |   3 +-
 lib/bb/main.py           |   5 +
 lib/bb/runqueue.py       | 319 ++++++++++++++++++++-------------------
 lib/bb/tests/runqueue.py |   9 ++
 4 files changed, 178 insertions(+), 158 deletions(-)