My build and test workflow involves three terminals:
- One with a bitbake devshell, created with
kas shell -c "bitbake spam-statistics && bitbake -c devshell spam-statistics". The first build is important, because it creates thedo_compilescript necessary to build within the devshell. Typically, I also need to manually edit therun.do_compilescript to remove the--frozenflag passed to cargo. - One with the sources open. Just
cd build/tmp/work/<platform>/spam-statistics/<version>/sources/ - One with an SSH shell open to the platform.
Typically, I will also use the Neovim integrated shell to copy the build artifact over to the target.