kergoth / bb

Subcommand-based bitbake tools
MIT License
39 stars 12 forks source link

Feature request: Ability to set a default scope (e.g. core-image-atp) #6

Closed mbrown9764 closed 8 years ago

mbrown9764 commented 11 years ago

For developers working on a single image for extended periods, it would be handy to be able to specify a default scope (e.g. core-image-atp) for the sub-commands, possibly via env var. Within the bb interactive shell you could also have a command to set the scope (e.g. change from core-image-atp to core-image-base).

kergoth commented 8 years ago

Testing this now, with bb-list, bb-search, and bb-whatdepends obeying it:

$ bb set-recipe-scope foo
$ bb whatdepends ncurses
Parsing recipes..done.
Preparing task data...done
ERROR: No build target for foo

$ bb set-recipe-scope core-image-minimal
$ bb whatdepends ncurses
Parsing recipes..done.
Preparing task data...done
readline
util-linux
dpkg
bash
slang
attr
kergoth commented 8 years ago

bb-shell may need a bit more work.