![VersaLogic Zebra VL-EPC-2701 User Manual Download Page 28](http://html1.mh-extra.com/html/versalogic/zebra-vl-epc-2701/zebra-vl-epc-2701_user-manual_1006790028.webp)
Creating a Simple Application
28
Zebra (VL-EPC-2701) Yocto Linux User Guide
BB= " ${BSPDIR}/sources/meta-openembedded/meta-python "
BB= " ${BSPDIR}/sources/meta-openembedded/meta-filesystems
"
BB= " ${BSPDIR}/sources/meta-qt5 "
BB_NUMBER_THREADS = "8"
4. We also need to tell
bitbake
to include
helloworld
in the new Linux image by
modifying
conf/local.conf
to include the line highlighted.
MACHINE ??= 'imx6zebra'
DISTRO ?= 'fsl-imx-x11'
PACKAGE_CLASSES ?= "package_rpm"
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats image-mklibs"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS = "\
STOPTASKS,${TMPDIR},1G,100K \
STOPTASKS,${DL_DIR},1G,100K \
STOPTASKS,${SSTATE_DIR},1G,100K \
STOPTASKS,/tmp,100M,100K \
ABORT,${TMPDIR},100M,1K \
ABORT,${DL_DIR},100M,1K \
ABORT,${SSTATE_DIR},100M,1K \
ABORT,/tmp,10M,1K"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
CONF_VERSION = "1"
IMAGE_INSTALL_append = " helloworld"
DL_DIR ?= "${BSPDIR}/downloads/"
ACCEPT_FSL_EULA = "1"
5. Now it is time to build the Linux image again.
$ bitbake fsl-image-validation-imx
Once the new image is built, deploy it to the Zebra using one of the methods already discussed.
On the Zebra, run the application by typing the name of the executable.
root@imx6zebra:~# helloworld
Hello World!
Thank you for choosing VersaLogic!