Create Linux Root File System image configuration - ArrowElectronics/arrow-soc-workshops GitHub Wiki
For reference, this is a an article describing custom yocto images.
Yocto provides a number of reference images. Custom images can be derived from them. inherit core-image and IMAGE_INSTALL are a way to do this.
Open the recipe socfpga_yocto_workshop/poky/meta-my-custom-soc-board/recipes-images/yocto/console-image-minimal.bb in the default editor, gedit. This recipe creates an image with the minimal set of packages required to boot the system.
The console-image-minimal image recipe adds the previously explored custom u-boot and rbf recipes to core-image . This can be seen on lines 6 and 7.
The gcc cross compiler tools could be added to the image by simply adding the line item gcc to the IMAGE_INSTALL variable.
A more complete console-image.bb recipe is also available. When built it will provide many more system resources in the image.