How to confirm that bitbake ran the default task?

naseeam used Ask the Experts™
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?
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
David FavorFractional CTO
Distinguished Expert 2018

Commented: provides your starting point.

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.
solution posted in another forum is as follows:

please proceed to chapter 5 in "A practical guide to BitBake" , there you will add a recipe + some output into the build task of the recipe, and see the result.
with the knowledge from ch5 you can print something on the screen

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial