Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# This requires the meta-qt5 layer in your bblayers.conf !!!!
# source: http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard
# If you plan to use Qt5 eglfs plugin for accelerated graphics using the framebuffer,
# you need to discard X11 and wayland so the proper graphics drivers get included.
# To achieve this add the following to your conf/local.conf :
# DISTRO_FEATURES_remove = "x11"
DESCRIPTION = "A Qt 5.5.1+ image. Tailored for the UDOO boards"
IMAGE_FEATURES += "splash ssh-server-openssh package-management debug-tweaks"
QT_TOOLS = " \
qtbase-fonts \
qtbase-plugins \
qtbase-tools \
qtdeclarative \
qtdeclarative-plugins \
qtdeclarative-tools \
qtdeclarative-qmlplugins \
qtmultimedia \
qtmultimedia-plugins \
qtmultimedia-qmlplugins \
qtsvg \
qtsvg-plugins \
qtsensors \
qtimageformats-plugins \
qtsystems \
qtsystems-tools \
qtsystems-qmlplugins \
qtscript \
qt3d \
qt3d-qmlplugins \
qtcanvas3d \
qtwayland \
qtwebkit \
qtwebkit-examples-examples \
qtwebkit-qmlplugins \
qtwebengine \
qtwebengine-qmlplugins \
qtgraphicaleffects \
qtgraphicaleffects-qmlplugins \
qtconnectivity-qmlplugins \
qtlocation \
qtlocation-plugins \
qtlocation-qmlplugins \
qtquick1 \
qtquick1-qmlplugins \
qtquick1-plugins \
qtserialport \
qtquickcontrols \
qtquickcontrols-qmlplugins \
qttools-plugins \
qtxmlpatterns \
cinematicexperience \
quitbattery \
qt5ledscreen \
qt5-env \
"
GSTREAMER_TOOLS = " \
packagegroup-fsl-gstreamer1.0-full \
"
REMOTE_DEBUGGING = " \
gdbserver \
openssh-sftp-server \
"
FSL_TOOLS = " \
packagegroup-fsl-tools-testapps \
packagegroup-fsl-tools-benchmark \
packagegroup-fsl-tools-gpu \
"
IMAGE_INSTALL = "\
packagegroup-core-boot \
packagegroup-core-full-cmdline \
packagegroup-base \
${CORE_IMAGE_EXTRA_INSTALL} \
${QT_TOOLS} \
${GSTREAMER_TOOLS} \
${REMOTE_DEBUGGING} \
${FSL_TOOLS} \
cairo pango fontconfig freetype pulseaudio dbus \
alsa-lib alsa-tools alsa-state fsl-alsa-plugins \
i2c-tools \
resize-rootfs \
"
inherit core-image
# for populate_sdk to create a valid toolchain
inherit populate_sdk_qt5
# Needed by resize-rootfs
IMAGE_CMD_ext4_append () {
# Label the disk rootfs
e2label ${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext4 rootfs
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.