Hi Raana,
First add the following packet in your <build_dir>/conf/local.conf file
IMAGE_INSTALL_append += "\
packagegroup-sdk-target \
"
The build (bitbake) your image.
Finally, when your image is up and running in your custom board you can use the command below to build.
arm-poky-linux-gnueabi-g++ fileName -o outputFileName
Regards,
Carlos
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------