naseeam
asked on
How to confirm that bitbake ran the default task?
I remotely connect to Linux virtual box from secure shell (ssh). I have smallest bitbake project.
I type bitbake from shell prompt.
The output is as follows:
Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.
Bitbake document says default build task will be executed.
build default task is in Base.bbclass file.
How can I be sure this task actually executed? How do I print something to the screen from this task?
base.bbclass
bblayers.conf
bitbake.conf
layer.conf
I type bitbake from shell prompt.
The output is as follows:
Nothing to do. Use 'bitbake world' to build everything, or run 'bitbake --help' for usage information.
Bitbake document says default build task will be executed.
build default task is in Base.bbclass file.
How can I be sure this task actually executed? How do I print something to the screen from this task?
base.bbclass
bblayers.conf
bitbake.conf
layer.conf
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The --debug option is your friend.
You'll likely have to run in debug mode + debug all errors.
Looking over the bitbake docs, seems like this is a complex project with lots of things glossed over.
Tip: Start with a solid Distro like Ubuntu Bionic (LTS), then install using the "Obtaining BitBake" instructions from the above page.
If you install bitbake by any other mechanism... the docs suggest... you best use the bitbake repositories, exactly as they direct.
Since bitbake is rarely used outside generating embedded system code, make sure this is really what you're trying to do.
Else, likely best to stick with make or cmake.