AnsweredAssumed Answered

Yocto helloword recipe in rootfs

Question asked by Gokhan Sahin on Jul 17, 2019
Latest reply on Jul 21, 2019 by Costin Constantin

I have created a new recipe is helloworld example in manual. I'm using imx6sx processor, so created it in meta-freescale-3rdparty folder as recipes-helloword and checked this layer whether has been added to bblayer.conf. It can be compiled with bitbake helloworld there was no error and it exists in rpm folder. After that, the image compiled again with bitbake fsl-image-qt5-validation-imx and generated a new rootfs and sdcard file.

However, I can't find the application in rootfs. Where is the application in rootfs? (the recipe has been inserted in local.conf : IMAGE_INSTALL_append = " helloworld")

Also, the helloworld package has been installed correctly because it exists package.manifest file.


└── helloworld

    ├── helloworld

    │   ├── COPYING

    │   └── helloworld.c



2 directories, 3 files

SUMMARY = "Hello World Cpp App Sources"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"
PV = "1.5"

SRC_URI = "file://helloworld.c"


do_compile() {
${CC} helloworld.c -o helloworld
do_install() {
install -d ${D}${bindir}
install -m 0755 helloworld ${D}${bindir}