There are two ways:
1. BitBake. Append the package into the IMAGE_INSTALL variable. But
- In case you want the package in every image, add a line to your conf/local.conf file
IMAGE_INSTALL_append = " package"
Make sure to include the space BEFORE the package name. You can add other packages, just place spaces in-between.
- In case you want the package in a particular image, e.g. fsl-image-gui,, add it on meta-fsl-demos/recipes-fsl/images/fsl-image-gui.bb
IMAGE_INSTALL += " \
2. Hob. Due to its graphical nature, adding more packages to a base image is easier than the bitbake way. Run the hob app under the build folder, select your machine and image, then edit the later (click on the Edit image button)
In case the package is not available, you need to create it. As a starting point take a look at this example. In case you consider is good enough to be present on the mainstream repos, send the patch to the meta-freescale mailing list.