Add native gcc to the target image
Add native gcc to the Poky linux target image
The Yocto Project gives you the possibility of use the power of your Host system and cross-compile everything instead of building source code directly on the target system.
However if you really need to build on the Target system you may need to have make and gcc installed in the final image.
The easiest way to do that is adding the following line to the local.conf or your image recipe file.
IMAGE_INSTALL_append = " packagegroup-core-buildessential"