How to add support for a package in YOCTO?

  • When YOCTO source is cloned using the commands given in iWave software user guide, there will be a machine file for the iWave boards
    sources/meta-iwave/conf/machine/
  • In the machine files given, “IMAGE_INSTALL:append” this MACRO would have already been provided to add the packages.
  • To add the new packages, add like below:
  • IMAGE_INSTALL:append = " glibc-gconv-utf-16 gst-variable-rtsp-server gstreamer1.0-rtsp-server libmosquitto1 mosquitto-clients mosquitto-dev libinih-dev protobuf "
  • To add any package, first verify whether that package is available in YOCTO using the below command:
    bitbake-layers show-recipes | grep <package_name>
    bitbake -s | grep <package_name>
  • If the list shows that package is available then, that can be added for compilation
  • If not available, a new meta-layer should be added to add the support for the package.