Yocto Tutorial - 08 Creating a Simple Hello World Yocto Recipe(FROM SCRATCH!) | With C Program

preview_player
Показать описание
In this video, you'll learn how to create a Yocto recipe from scratch. We'll cover everything you need to know to create a recipe that includes a simple "helloworld" C program.

We'll start by writing the helloworld.c program and then create the recipe. We'll cover important recipe metadata, including the SUMMARY, LICENSE, LIC_FILES_CHKSUM, and SRC_URI. You'll learn how to calculate the md5 checksum for the license file using the `md5sum` utility.

We'll then dive into the recipe's `do_compile` and `do_install` steps, where we compile the program and tell the recipe where to put the binary file in the final image.

By the end of this video, you'll have a solid understanding of how to create a Yocto recipe that includes a simple C program.

Installing image on Beaglebone Black:

Create and Add Layer:

Рекомендации по теме
Комментарии
Автор

Your tutorials surely are the hidden gems for any newcomer of Linux embedded engineers. Thanks you so much.

tuhoang
Автор

Could you please provide for Qt application with qt5. Thanks

unixguy
Автор

when you compile your recipe, is your target linked to your host ?

narwresbarhoumi
Автор

Sir you only show how to build the recipes. can you also show how to run them on the embedded OS or inside the sbc board/embedded system

InternKlug
Автор

Thank you so much for your nice tutorial, wenn I have run the bitbake helloworld recipe, it does not create the build directory and image dir, I just have a temp directory, I ve no bin file any help please?

انامسلموكفى