Adding support for Hailo8 accelerator on iMX8 Yocto

Clone hailo git branch, make sure to set the relevant branch (e.g kirkstone)
$ git clone https://github.com/hailo-ai/meta-hailo.git -b kirkstone …/sources/meta-hailo

Edit bblayers.conf to include the added layers:
$ vim conf/bblayers.conf
BBLAYERS += ” ${BSPDIR}/sources/meta-hailo/meta-hailo-accelerator
${BSPDIR}/sources/meta-hailo/meta-hailo-libhailort”
BBLAYERS += ”${BSPDIR}/sources/meta-hailo/meta-hailo-tappas”

Edit local.conf
$ vim conf/local.conf
IMAGE_INSTALL:append = ” hailo-firmware libhailort hailortcli hailo-pci libgsthailo ”
IMAGE_INSTALL:append = ” libgsthailotools tappas-apps hailo-post-processes ”

Build the image:

$ DISTRO=fsl-imx-xwayland MACHINE=imx8mpevk source imx-setup-release.sh -b build
$ bitbake imx-image-multimedia