summaryrefslogtreecommitdiffstats
path: root/meta-boot2qt-distro
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@qt.io>2018-03-02 13:08:39 +0200
committerSamuli Piippo <samuli.piippo@qt.io>2018-03-12 14:12:31 +0000
commit344c2f97025c6504ec986600498121bb83aaeb8f (patch)
tree3d7ec602603cb083b7c8e998eddca543ce17e57c /meta-boot2qt-distro
parentd9985542d7617b43ec7180c7ade0c4f64db82b42 (diff)
downloadmeta-boot2qt-344c2f97025c6504ec986600498121bb83aaeb8f.tar.gz
Split meta-boot2qt layer
Move distro specific recipes to own layer and leave only new recipes and bbclasses to meta-boot2qt layer. This makes it easier to include meta-boot2qt to your own distro layer to get access e.g., QDB and QBSP recipes that might be useful even without boot2qt distro. Task-number: QTBUG-65871 Change-Id: I6c353774dd1668b00f2d05aa262ad866b90bdef6 Reviewed-by: Timo Aarnipuro <timo.aarnipuro@qt.io>
Diffstat (limited to 'meta-boot2qt-distro')
-rw-r--r--meta-boot2qt-distro/classes/qmake5_paths.bbclass52
-rw-r--r--meta-boot2qt-distro/conf/bblayers.conf.boundary.sample54
-rw-r--r--meta-boot2qt-distro/conf/bblayers.conf.emulator.sample50
-rw-r--r--meta-boot2qt-distro/conf/bblayers.conf.fsl.sample53
-rw-r--r--meta-boot2qt-distro/conf/bblayers.conf.intel.sample52
-rw-r--r--meta-boot2qt-distro/conf/bblayers.conf.jetson.sample52
-rw-r--r--meta-boot2qt-distro/conf/bblayers.conf.nvidia-tegra.sample53
-rw-r--r--meta-boot2qt-distro/conf/bblayers.conf.rcar-gen3.sample55
-rw-r--r--meta-boot2qt-distro/conf/bblayers.conf.rpi.sample52
-rw-r--r--meta-boot2qt-distro/conf/bblayers.conf.sample50
-rw-r--r--meta-boot2qt-distro/conf/bblayers.conf.smx6.sample55
-rw-r--r--meta-boot2qt-distro/conf/bblayers.conf.ti.sample53
-rw-r--r--meta-boot2qt-distro/conf/bblayers.conf.toradex.sample56
-rw-r--r--meta-boot2qt-distro/conf/distro/b2qt.conf85
-rw-r--r--meta-boot2qt-distro/conf/distro/include/am335x-evm.conf34
-rw-r--r--meta-boot2qt-distro/conf/distro/include/apalis-imx6.conf44
-rw-r--r--meta-boot2qt-distro/conf/distro/include/beagleboard.conf34
-rw-r--r--meta-boot2qt-distro/conf/distro/include/beaglebone.conf36
-rw-r--r--meta-boot2qt-distro/conf/distro/include/boundary.inc43
-rw-r--r--meta-boot2qt-distro/conf/distro/include/colibri-imx6.conf39
-rw-r--r--meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf46
-rw-r--r--meta-boot2qt-distro/conf/distro/include/colibri-vf.conf43
-rw-r--r--meta-boot2qt-distro/conf/distro/include/emulator.conf52
-rw-r--r--meta-boot2qt-distro/conf/distro/include/fsl.inc38
-rw-r--r--meta-boot2qt-distro/conf/distro/include/h3ulcb.conf32
-rw-r--r--meta-boot2qt-distro/conf/distro/include/h3ulcb.pre.inc1
-rw-r--r--meta-boot2qt-distro/conf/distro/include/imx6dlsabresd.conf32
-rw-r--r--meta-boot2qt-distro/conf/distro/include/imx6qsabresd.conf41
-rw-r--r--meta-boot2qt-distro/conf/distro/include/imx7dsabresd.conf34
-rw-r--r--meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf39
-rw-r--r--meta-boot2qt-distro/conf/distro/include/intel-corei7-64.conf50
-rw-r--r--meta-boot2qt-distro/conf/distro/include/jetson-tx1.conf32
-rw-r--r--meta-boot2qt-distro/conf/distro/include/jetson-tx2.conf32
-rw-r--r--meta-boot2qt-distro/conf/distro/include/jetson.inc44
-rw-r--r--meta-boot2qt-distro/conf/distro/include/m3ulcb.conf32
-rw-r--r--meta-boot2qt-distro/conf/distro/include/m3ulcb.pre.inc1
-rw-r--r--meta-boot2qt-distro/conf/distro/include/nitrogen6x.conf87
-rw-r--r--meta-boot2qt-distro/conf/distro/include/nitrogen7.conf38
-rw-r--r--meta-boot2qt-distro/conf/distro/include/opencv.inc39
-rw-r--r--meta-boot2qt-distro/conf/distro/include/raspberrypi.conf37
-rw-r--r--meta-boot2qt-distro/conf/distro/include/raspberrypi.inc48
-rw-r--r--meta-boot2qt-distro/conf/distro/include/raspberrypi0.conf37
-rw-r--r--meta-boot2qt-distro/conf/distro/include/raspberrypi2.conf36
-rw-r--r--meta-boot2qt-distro/conf/distro/include/raspberrypi3.conf36
-rw-r--r--meta-boot2qt-distro/conf/distro/include/rcar-gen3.inc67
-rw-r--r--meta-boot2qt-distro/conf/distro/include/salvator-x.conf32
-rw-r--r--meta-boot2qt-distro/conf/distro/include/salvator-x.pre.inc1
-rw-r--r--meta-boot2qt-distro/conf/distro/include/smarc-samx6i.conf45
-rw-r--r--meta-boot2qt-distro/conf/distro/include/tegra-t18x.conf97
-rw-r--r--meta-boot2qt-distro/conf/distro/include/ti.inc43
-rw-r--r--meta-boot2qt-distro/conf/distro/include/toradex.inc48
-rw-r--r--meta-boot2qt-distro/conf/layer.conf40
-rw-r--r--meta-boot2qt-distro/conf/local.conf.sample289
-rw-r--r--meta-boot2qt-distro/conf/machine/emulator.conf52
-rw-r--r--meta-boot2qt-distro/conf/machine/qemuarmv7.conf8
-rw-r--r--meta-boot2qt-distro/recipes-bsp/alsa/alsa-state.bbappend30
-rw-r--r--meta-boot2qt-distro/recipes-bsp/alsa/alsa-state/emulator/asound.conf4
-rw-r--r--meta-boot2qt-distro/recipes-bsp/alsa/alsa-state/raspberrypi/asound.conf9
-rwxr-xr-xmeta-boot2qt-distro/recipes-bsp/v86d/v86d/fbsetup3
-rw-r--r--meta-boot2qt-distro/recipes-bsp/v86d/v86d/uvesafb.options.conf1
-rw-r--r--meta-boot2qt-distro/recipes-bsp/v86d/v86d_0.1.10.bbappend39
-rw-r--r--meta-boot2qt-distro/recipes-connectivity/connman-conf/connman-conf.bbappend42
-rw-r--r--meta-boot2qt-distro/recipes-connectivity/connman-conf/connman-conf/settings5
-rw-r--r--meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend24
-rw-r--r--meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.33.patch21
-rw-r--r--meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.34.patch11
-rw-r--r--meta-boot2qt-distro/recipes-connectivity/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch96
-rw-r--r--meta-boot2qt-distro/recipes-connectivity/openssl/openssl_1.%.bbappend34
-rw-r--r--meta-boot2qt-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.%.bbappend47
-rw-r--r--meta-boot2qt-distro/recipes-core/base-files/base-files/blacklist.conf1
-rw-r--r--meta-boot2qt-distro/recipes-core/base-files/base-files_3.0.14.bbappend44
-rw-r--r--meta-boot2qt-distro/recipes-core/dbus/dbus/dbus-session-address5
-rw-r--r--meta-boot2qt-distro/recipes-core/dbus/dbus/dbus-session.init112
-rw-r--r--meta-boot2qt-distro/recipes-core/dbus/dbus/dbus-session.service13
-rw-r--r--meta-boot2qt-distro/recipes-core/dbus/dbus_%.bbappend72
-rw-r--r--meta-boot2qt-distro/recipes-core/initscripts/initscripts_1.0.bbappend32
-rw-r--r--meta-boot2qt-distro/recipes-core/meta/meta-environment.bbappend35
-rw-r--r--meta-boot2qt-distro/recipes-core/packagegroups/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb60
-rw-r--r--meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-base.bb58
-rw-r--r--meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-gstreamer.bb48
-rw-r--r--meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-gstreamer010.bb66
-rw-r--r--meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-tools.bb52
-rw-r--r--meta-boot2qt-distro/recipes-core/systemd/systemd/usb-rndis.network5
-rw-r--r--meta-boot2qt-distro/recipes-core/systemd/systemd_%.bbappend52
-rw-r--r--meta-boot2qt-distro/recipes-devtools/binutils/binutils-cross_%.bbappend30
-rw-r--r--meta-boot2qt-distro/recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend56
-rw-r--r--meta-boot2qt-distro/recipes-devtools/gdb/gdb/0001-Do-not-use-win32-specific-filehandling.patch24
-rw-r--r--meta-boot2qt-distro/recipes-devtools/perl/perl_5.%.bbappend32
-rw-r--r--meta-boot2qt-distro/recipes-devtools/python/python3-native_%.bbappend1
-rw-r--r--meta-boot2qt-distro/recipes-devtools/python/python3-virtualenv.bb21
-rw-r--r--meta-boot2qt-distro/recipes-devtools/python/python3_%.bbappend11
-rw-r--r--meta-boot2qt-distro/recipes-extended/gperf/gperf_%.bbappend30
-rw-r--r--meta-boot2qt-distro/recipes-graphics/libsdl/libsdl_1.2.15.bbappend30
-rw-r--r--meta-boot2qt-distro/recipes-graphics/mesa/mesa_%.bbappend31
-rw-r--r--meta-boot2qt-distro/recipes-kernel/linux-firmware/linux-firmware_git.bbappend30
-rw-r--r--meta-boot2qt-distro/recipes-kernel/linux/linux-yocto/snd_intel8x0.cfg1
-rw-r--r--meta-boot2qt-distro/recipes-kernel/linux/linux-yocto_4.%.bbappend36
-rw-r--r--meta-boot2qt-distro/recipes-kernel/perf/perf.bbappend30
-rw-r--r--meta-boot2qt-distro/recipes-multimedia/alsa-utils/alsa-utils/0001-Increase-default-playback-volume.patch26
-rw-r--r--meta-boot2qt-distro/recipes-multimedia/alsa-utils/alsa-utils_%.bbappend32
-rw-r--r--meta-boot2qt-distro/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bbappend30
-rw-r--r--meta-boot2qt-distro/recipes-multimedia/gstreamer/gst-plugins-base/fix-gstvolume.patch23
-rw-r--r--meta-boot2qt-distro/recipes-multimedia/gstreamer/gst-plugins-base_0.10.%.bbappend32
-rw-r--r--meta-boot2qt-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend30
-rw-r--r--meta-boot2qt-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_%.bbappend31
-rw-r--r--meta-boot2qt-distro/recipes-networking/samba/samba_4.%.bbappend31
-rw-r--r--meta-boot2qt-distro/recipes-qt/images/b2qt-automotive-qt5-image.bb55
-rw-r--r--meta-boot2qt-distro/recipes-qt/images/b2qt-embedded-ci-image.bb74
-rw-r--r--meta-boot2qt-distro/recipes-qt/images/b2qt-embedded-qt5-image.bb55
-rw-r--r--meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb49
-rw-r--r--meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-embedded-qbsp.bb50
-rw-r--r--meta-boot2qt-distro/recipes-qt/meta/meta-toolchain-b2qt-automotive-qt5-sdk.bb39
-rw-r--r--meta-boot2qt-distro/recipes-qt/meta/meta-toolchain-b2qt-embedded-qt5-sdk.bb38
-rw-r--r--meta-boot2qt-distro/recipes-qt/meta/meta-toolchain-b2qt-embedded-sdk.bb32
-rw-r--r--meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-automotive-qt5-toolchain-host.bb40
-rw-r--r--meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb56
-rw-r--r--meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-automotive-addons.bb47
-rw-r--r--meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-automotive-qt5-toolchain-target.bb43
-rw-r--r--meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-addons.bb43
-rw-r--r--meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb77
-rw-r--r--meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb79
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/nativesdk-qtbase_git.bbappend44
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase-native_git.bbappend34
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase/0001-Add-win32-g-oe-mkspec-that-uses-the-OE_-environment.patch157
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase/0001-disable-qt_random_cpu.patch25
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase/emulator/oe-device-extra.pri6
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase/intel-corei7-64/oe-device-extra.pri10
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase/jetson-tx1/oe-device-extra.pri4
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase/jetson-tx2/oe-device-extra.pri4
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase/mx6/oe-device-extra.pri10
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase/nvidia-logan/oe-device-extra.pri11
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase/oe-device-extra.pri3
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase/rpi/oe-device-extra.pri11
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase/smarc-samx6i/oe-device-extra.pri3
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase/tegra-t18x/oe-device-extra.pri11
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase/ti33x/oe-device-extra.pri6
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend64
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtdeclarative_git.bbappend32
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch23
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtlocation_git.bbappend34
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtmultimedia_git.bbappend32
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtsystems_git.bbappend31
-rw-r--r--meta-boot2qt-distro/recipes-qt/qt5/qtvirtualkeyboard_git.bbappend31
-rw-r--r--meta-boot2qt-distro/recipes-support/rng-tools/rng-tools/rngd.service9
-rw-r--r--meta-boot2qt-distro/recipes-support/rng-tools/rng-tools_5.bbappend45
145 files changed, 5667 insertions, 0 deletions
diff --git a/meta-boot2qt-distro/classes/qmake5_paths.bbclass b/meta-boot2qt-distro/classes/qmake5_paths.bbclass
new file mode 100644
index 0000000..32c7716
--- /dev/null
+++ b/meta-boot2qt-distro/classes/qmake5_paths.bbclass
@@ -0,0 +1,52 @@
1# If your distribution supports only qt5, or you don't care
2# about conflicts with qt4, then you can add qmake5_paths.bbclass
3# to your distro layer and flatten all QT_DIR_NAME directories
4
5QT_DIR_NAME ?= ""
6
7# This is useful for target recipes to reference native mkspecs
8QMAKE_MKSPEC_PATH_NATIVE = "${STAGING_LIBDIR_NATIVE}"
9QMAKE_MKSPEC_PATH_TARGET = "${STAGING_LIBDIR}"
10
11QMAKE_MKSPEC_PATH = "${QMAKE_MKSPEC_PATH_TARGET}"
12QMAKE_MKSPEC_PATH_class-native = "${QMAKE_MKSPEC_PATH_NATIVE}"
13QMAKE_MKSPEC_PATH_class-nativesdk = "${QMAKE_MKSPEC_PATH_NATIVE}"
14
15OE_QMAKE_PATH_PREFIX = "${prefix}"
16OE_QMAKE_PATH_HEADERS = "${includedir}/qt5"
17OE_QMAKE_PATH_LIBS = "${libdir}"
18OE_QMAKE_PATH_ARCHDATA = "${libdir}"
19OE_QMAKE_PATH_DATA = "${datadir}"
20OE_QMAKE_PATH_BINS = "${bindir}"
21OE_QMAKE_PATH_LIBEXECS = "${libdir}/libexec"
22OE_QMAKE_PATH_PLUGINS = "${libdir}/plugins"
23OE_QMAKE_PATH_IMPORTS = "${libdir}/imports"
24OE_QMAKE_PATH_QML = "${libdir}/qml"
25OE_QMAKE_PATH_TRANSLATIONS = "${datadir}/translations"
26OE_QMAKE_PATH_DOCS = "${docdir}"
27OE_QMAKE_PATH_SETTINGS = "${sysconfdir}"
28OE_QMAKE_PATH_EXAMPLES = "${datadir}/examples"
29OE_QMAKE_PATH_TESTS = "${datadir}/tests"
30OE_QMAKE_PATH_HOST_PREFIX = ""
31OE_QMAKE_PATH_HOST_PREFIX_class-target = "${STAGING_DIR_NATIVE}"
32OE_QMAKE_PATH_HOST_BINS = "${bindir}"
33OE_QMAKE_PATH_HOST_DATA = "${QMAKE_MKSPEC_PATH_TARGET}"
34OE_QMAKE_PATH_HOST_LIBS = "${STAGING_LIBDIR}"
35OE_QMAKE_PATH_EXTERNAL_HOST_BINS = "${STAGING_BINDIR_NATIVE}"
36
37# for qt5 components we're using QT_DIR_NAME subdirectory in more
38# variables, because we don't want conflicts with qt4
39# This block is useful for components which install their
40# own files without QT_DIR_NAME but need to reference paths e.g.
41# with QT headers
42OE_QMAKE_PATH_QT_HEADERS = "${includedir}/qt5"
43OE_QMAKE_PATH_QT_ARCHDATA = "${libdir}"
44OE_QMAKE_PATH_QT_DATA = "${datadir}"
45OE_QMAKE_PATH_QT_BINS = "${bindir}"
46OE_QMAKE_PATH_QT_TRANSLATIONS = "${datadir}/translations"
47OE_QMAKE_PATH_QT_DOCS = "${docdir}"
48OE_QMAKE_PATH_QT_SETTINGS = "${sysconfdir}"
49OE_QMAKE_PATH_QT_EXAMPLES = "${datadir}/examples"
50OE_QMAKE_PATH_QT_TESTS = "${datadir}/tests"
51
52OE_QMAKE_PATH_QT_FONTS = "${OE_QMAKE_PATH_LIBS}/fonts"
diff --git a/meta-boot2qt-distro/conf/bblayers.conf.boundary.sample b/meta-boot2qt-distro/conf/bblayers.conf.boundary.sample
new file mode 100644
index 0000000..14d9c0b
--- /dev/null
+++ b/meta-boot2qt-distro/conf/bblayers.conf.boundary.sample
@@ -0,0 +1,54 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly
32POKY_BBLAYERS_CONF_VERSION = "2"
33
34BBPATH = "${TOPDIR}"
35BBFILES ?= ""
36BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
37
38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-boundary \
42 ${BSPDIR}/sources/meta-freescale \
43 ${BSPDIR}/sources/meta-freescale-3rdparty \
44 ${BSPDIR}/sources/meta-openembedded/meta-oe \
45 ${BSPDIR}/sources/meta-openembedded/meta-python \
46 ${BSPDIR}/sources/meta-openembedded/meta-networking \
47 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
48 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
49 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt \
50 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt-distro \
51 ${BSPDIR}/sources/meta-boot2qt/meta-fsl-extras \
52 ${BSPDIR}/sources/meta-mingw \
53 ${BSPDIR}/sources/meta-qt5 \
54 "
diff --git a/meta-boot2qt-distro/conf/bblayers.conf.emulator.sample b/meta-boot2qt-distro/conf/bblayers.conf.emulator.sample
new file mode 100644
index 0000000..bf32887
--- /dev/null
+++ b/meta-boot2qt-distro/conf/bblayers.conf.emulator.sample
@@ -0,0 +1,50 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly
32POKY_BBLAYERS_CONF_VERSION = "2"
33
34BBPATH = "${TOPDIR}"
35BBFILES ?= ""
36BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
37
38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-openembedded/meta-oe \
42 ${BSPDIR}/sources/meta-openembedded/meta-python \
43 ${BSPDIR}/sources/meta-openembedded/meta-networking \
44 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
45 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
46 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt \
47 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt-distro \
48 ${BSPDIR}/sources/meta-mingw \
49 ${BSPDIR}/sources/meta-qt5 \
50 "
diff --git a/meta-boot2qt-distro/conf/bblayers.conf.fsl.sample b/meta-boot2qt-distro/conf/bblayers.conf.fsl.sample
new file mode 100644
index 0000000..e6afe33
--- /dev/null
+++ b/meta-boot2qt-distro/conf/bblayers.conf.fsl.sample
@@ -0,0 +1,53 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly
32POKY_BBLAYERS_CONF_VERSION = "2"
33
34BBPATH = "${TOPDIR}"
35BBFILES ?= ""
36BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
37
38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-freescale \
42 ${BSPDIR}/sources/meta-freescale-3rdparty \
43 ${BSPDIR}/sources/meta-openembedded/meta-oe \
44 ${BSPDIR}/sources/meta-openembedded/meta-python \
45 ${BSPDIR}/sources/meta-openembedded/meta-networking \
46 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
47 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
48 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt \
49 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt-distro \
50 ${BSPDIR}/sources/meta-boot2qt/meta-fsl-extras \
51 ${BSPDIR}/sources/meta-mingw \
52 ${BSPDIR}/sources/meta-qt5 \
53 "
diff --git a/meta-boot2qt-distro/conf/bblayers.conf.intel.sample b/meta-boot2qt-distro/conf/bblayers.conf.intel.sample
new file mode 100644
index 0000000..efe626a
--- /dev/null
+++ b/meta-boot2qt-distro/conf/bblayers.conf.intel.sample
@@ -0,0 +1,52 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly
32POKY_BBLAYERS_CONF_VERSION = "2"
33
34BBPATH = "${TOPDIR}"
35BBFILES ?= ""
36BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
37
38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-intel \
42 ${BSPDIR}/sources/meta-openembedded/meta-oe \
43 ${BSPDIR}/sources/meta-openembedded/meta-python \
44 ${BSPDIR}/sources/meta-openembedded/meta-networking \
45 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
46 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
47 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt \
48 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt-distro \
49 ${BSPDIR}/sources/meta-boot2qt/meta-intel-extras \
50 ${BSPDIR}/sources/meta-mingw \
51 ${BSPDIR}/sources/meta-qt5 \
52 "
diff --git a/meta-boot2qt-distro/conf/bblayers.conf.jetson.sample b/meta-boot2qt-distro/conf/bblayers.conf.jetson.sample
new file mode 100644
index 0000000..eccc371
--- /dev/null
+++ b/meta-boot2qt-distro/conf/bblayers.conf.jetson.sample
@@ -0,0 +1,52 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly
32POKY_BBLAYERS_CONF_VERSION = "2"
33
34BBPATH = "${TOPDIR}"
35BBFILES ?= ""
36BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
37
38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-tegra \
42 ${BSPDIR}/sources/meta-openembedded/meta-oe \
43 ${BSPDIR}/sources/meta-openembedded/meta-python \
44 ${BSPDIR}/sources/meta-openembedded/meta-networking \
45 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
46 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
47 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt \
48 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt-distro \
49 ${BSPDIR}/sources/meta-boot2qt/meta-tegra-extras \
50 ${BSPDIR}/sources/meta-mingw \
51 ${BSPDIR}/sources/meta-qt5 \
52 "
diff --git a/meta-boot2qt-distro/conf/bblayers.conf.nvidia-tegra.sample b/meta-boot2qt-distro/conf/bblayers.conf.nvidia-tegra.sample
new file mode 100644
index 0000000..d042805
--- /dev/null
+++ b/meta-boot2qt-distro/conf/bblayers.conf.nvidia-tegra.sample
@@ -0,0 +1,53 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly
32POKY_BBLAYERS_CONF_VERSION = "2"
33
34BBPATH = "${TOPDIR}"
35BBFILES ?= ""
36BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
37
38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/nvidia-layer/meta-tegra \
42 ${BSPDIR}/sources/nvidia-layer/meta-vib4 \
43 ${BSPDIR}/sources/meta-openembedded/meta-oe \
44 ${BSPDIR}/sources/meta-openembedded/meta-python \
45 ${BSPDIR}/sources/meta-openembedded/meta-networking \
46 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
47 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
48 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt \
49 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt-distro \
50 ${BSPDIR}/sources/meta-boot2qt/meta-nvidia-extras \
51 ${BSPDIR}/sources/meta-mingw \
52 ${BSPDIR}/sources/meta-qt5 \
53 "
diff --git a/meta-boot2qt-distro/conf/bblayers.conf.rcar-gen3.sample b/meta-boot2qt-distro/conf/bblayers.conf.rcar-gen3.sample
new file mode 100644
index 0000000..6f502ea
--- /dev/null
+++ b/meta-boot2qt-distro/conf/bblayers.conf.rcar-gen3.sample
@@ -0,0 +1,55 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly
32POKY_BBLAYERS_CONF_VERSION = "2"
33
34BBPATH = "${TOPDIR}"
35BBFILES ?= ""
36BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
37
38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-renesas/meta-rcar-gen3 \
42 ${BSPDIR}/sources/meta-freescale \
43 ${BSPDIR}/sources/meta-linaro/meta-optee \
44 ${BSPDIR}/sources/meta-openembedded/meta-oe \
45 ${BSPDIR}/sources/meta-openembedded/meta-python \
46 ${BSPDIR}/sources/meta-openembedded/meta-networking \
47 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
48 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
49 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt \
50 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt-distro \
51 ${BSPDIR}/sources/meta-boot2qt/meta-renesas-extras \
52 ${BSPDIR}/sources/meta-mingw \
53 ${BSPDIR}/sources/meta-qt5 \
54 "
55
diff --git a/meta-boot2qt-distro/conf/bblayers.conf.rpi.sample b/meta-boot2qt-distro/conf/bblayers.conf.rpi.sample
new file mode 100644
index 0000000..c701d0e
--- /dev/null
+++ b/meta-boot2qt-distro/conf/bblayers.conf.rpi.sample
@@ -0,0 +1,52 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly
32POKY_BBLAYERS_CONF_VERSION = "2"
33
34BBPATH = "${TOPDIR}"
35BBFILES ?= ""
36BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
37
38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-raspberrypi \
42 ${BSPDIR}/sources/meta-openembedded/meta-oe \
43 ${BSPDIR}/sources/meta-openembedded/meta-python \
44 ${BSPDIR}/sources/meta-openembedded/meta-networking \
45 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
46 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
47 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt \
48 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt-distro \
49 ${BSPDIR}/sources/meta-boot2qt/meta-raspberrypi-extras \
50 ${BSPDIR}/sources/meta-mingw \
51 ${BSPDIR}/sources/meta-qt5 \
52 "
diff --git a/meta-boot2qt-distro/conf/bblayers.conf.sample b/meta-boot2qt-distro/conf/bblayers.conf.sample
new file mode 100644
index 0000000..bf32887
--- /dev/null
+++ b/meta-boot2qt-distro/conf/bblayers.conf.sample
@@ -0,0 +1,50 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly
32POKY_BBLAYERS_CONF_VERSION = "2"
33
34BBPATH = "${TOPDIR}"
35BBFILES ?= ""
36BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
37
38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-openembedded/meta-oe \
42 ${BSPDIR}/sources/meta-openembedded/meta-python \
43 ${BSPDIR}/sources/meta-openembedded/meta-networking \
44 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
45 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
46 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt \
47 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt-distro \
48 ${BSPDIR}/sources/meta-mingw \
49 ${BSPDIR}/sources/meta-qt5 \
50 "
diff --git a/meta-boot2qt-distro/conf/bblayers.conf.smx6.sample b/meta-boot2qt-distro/conf/bblayers.conf.smx6.sample
new file mode 100644
index 0000000..5a09ec9
--- /dev/null
+++ b/meta-boot2qt-distro/conf/bblayers.conf.smx6.sample
@@ -0,0 +1,55 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly
32POKY_BBLAYERS_CONF_VERSION = "2"
33
34BBPATH = "${TOPDIR}"
35BBFILES ?= ""
36BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
37
38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-freescale \
42 ${BSPDIR}/sources/meta-freescale-3rdparty \
43 ${BSPDIR}/sources/meta-smx6 \
44 ${BSPDIR}/sources/meta-openembedded/meta-oe \
45 ${BSPDIR}/sources/meta-openembedded/meta-python \
46 ${BSPDIR}/sources/meta-openembedded/meta-networking \
47 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
48 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
49 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt \
50 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt-distro \
51 ${BSPDIR}/sources/meta-boot2qt/meta-fsl-extras \
52 ${BSPDIR}/sources/meta-boot2qt/meta-smx6-extras \
53 ${BSPDIR}/sources/meta-mingw \
54 ${BSPDIR}/sources/meta-qt5 \
55 "
diff --git a/meta-boot2qt-distro/conf/bblayers.conf.ti.sample b/meta-boot2qt-distro/conf/bblayers.conf.ti.sample
new file mode 100644
index 0000000..47260a4
--- /dev/null
+++ b/meta-boot2qt-distro/conf/bblayers.conf.ti.sample
@@ -0,0 +1,53 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly
32POKY_BBLAYERS_CONF_VERSION = "2"
33
34BBPATH = "${TOPDIR}"
35BBFILES ?= ""
36BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
37
38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-ti \
42 ${BSPDIR}/sources/meta-freescale \
43 ${BSPDIR}/sources/meta-openembedded/meta-oe \
44 ${BSPDIR}/sources/meta-openembedded/meta-python \
45 ${BSPDIR}/sources/meta-openembedded/meta-networking \
46 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
47 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
48 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt \
49 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt-distro \
50 ${BSPDIR}/sources/meta-boot2qt/meta-ti-extras \
51 ${BSPDIR}/sources/meta-mingw \
52 ${BSPDIR}/sources/meta-qt5 \
53 "
diff --git a/meta-boot2qt-distro/conf/bblayers.conf.toradex.sample b/meta-boot2qt-distro/conf/bblayers.conf.toradex.sample
new file mode 100644
index 0000000..f30ba79
--- /dev/null
+++ b/meta-boot2qt-distro/conf/bblayers.conf.toradex.sample
@@ -0,0 +1,56 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
31# changes incompatibly
32POKY_BBLAYERS_CONF_VERSION = "2"
33
34BBPATH = "${TOPDIR}"
35BBFILES ?= ""
36BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
37
38BBLAYERS ?= " \
39 ${BSPDIR}/sources/poky/meta \
40 ${BSPDIR}/sources/poky/meta-poky \
41 ${BSPDIR}/sources/meta-toradex-bsp-common \
42 ${BSPDIR}/sources/meta-toradex-nxp \
43 ${BSPDIR}/sources/meta-freescale \
44 ${BSPDIR}/sources/meta-freescale-3rdparty \
45 ${BSPDIR}/sources/meta-openembedded/meta-oe \
46 ${BSPDIR}/sources/meta-openembedded/meta-python \
47 ${BSPDIR}/sources/meta-openembedded/meta-networking \
48 ${BSPDIR}/sources/meta-openembedded/meta-initramfs \
49 ${BSPDIR}/sources/meta-openembedded/meta-multimedia \
50 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt \
51 ${BSPDIR}/sources/meta-boot2qt/meta-boot2qt-distro \
52 ${BSPDIR}/sources/meta-boot2qt/meta-fsl-extras \
53 ${BSPDIR}/sources/meta-boot2qt/meta-toradex-extras \
54 ${BSPDIR}/sources/meta-mingw \
55 ${BSPDIR}/sources/meta-qt5 \
56 "
diff --git a/meta-boot2qt-distro/conf/distro/b2qt.conf b/meta-boot2qt-distro/conf/distro/b2qt.conf
new file mode 100644
index 0000000..1aa4bd5
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/b2qt.conf
@@ -0,0 +1,85 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/poky.conf
31
32DISTRO = "b2qt"
33DISTRO_NAME = "Boot to Qt for Embedded Linux"
34SDK_VERSION := "${DISTRO_VERSION}"
35
36SDK_MACHINE = "${@d.getVar('SDKMACHINE', True) or '${SDK_ARCH}'}"
37SDK_NAME = "${DISTRO}-${SDK_MACHINE}-${IMAGE_BASENAME}"
38TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-${MACHINE}"
39BUILDCFG_VARS += "SDKMACHINE"
40
41MAINTAINER = "B2Qt <b2qt@qt.io>"
42
43SANITY_TESTED_DISTROS += " \
44 Ubuntu 11.04 \n \
45 Ubuntu-15.10 \n \
46 LinuxMint-14 \n \
47 LinuxMint-16 \n \
48 LinuxMint-17.1 \n \
49 LinuxMint-18.1 \n \
50 "
51
52SYSVINIT_ENABLED_GETTYS = ""
53
54DISTRO_FEATURES_DEFAULT_remove = "irda pcmcia pci 3g nfc zeroconf x11"
55DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio sysvinit"
56
57DISTRO_FEATURES_FILTER_NATIVESDK_append = " wayland"
58
59FONTCONFIG_CACHE_DIR = "${libdir}/fontconfig/cache"
60
61# use GStreamer 1.0, optionally change to "gstreamer010" to use GStreamer 0.10
62DISTRO_FEATURES += "gstreamer webengine systemd"
63
64VIRTUAL-RUNTIME_init_manager = "systemd"
65VIRTUAL-RUNTIME_initscripts = ""
66PREFERRED_PROVIDER_udev ?= "systemd"
67PREFERRED_PROVIDER_udev-utils ?= "systemd"
68
69PREFERRED_PROVIDER_jpeg ?= "libjpeg-turbo"
70PREFERRED_PROVIDER_jpeg-native ?= "libjpeg-turbo-native"
71
72# Override mkspec for mingw build
73OE_QMAKE_PLATFORM_NATIVE_mingw32 = "win32-g++-oe"
74OE_QMAKE_PLATFORM_mingw32 = "win32-g++-oe"
75
76# Disable SHA validation for branch
77QT_MODULE_BRANCH_PARAM = "nobranch=1"
78
79IMAGE_FSTYPES = "conf"
80IMAGE_CLASSES += "image_types_sdcard deploy-conf"
81
82LICENSE_CREATE_PACKAGE = "1"
83COPY_LIC_MANIFEST = "1"
84
85include conf/distro/include/${MACHINE}.conf
diff --git a/meta-boot2qt-distro/conf/distro/include/am335x-evm.conf b/meta-boot2qt-distro/conf/distro/include/am335x-evm.conf
new file mode 100644
index 0000000..4ec3e4d
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/am335x-evm.conf
@@ -0,0 +1,34 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/ti.inc
31
32DEPLOY_CONF_NAME = "Sitara AM335x Starter Kit"
33
34DISTRO_FEATURES_remove = "webengine"
diff --git a/meta-boot2qt-distro/conf/distro/include/apalis-imx6.conf b/meta-boot2qt-distro/conf/distro/include/apalis-imx6.conf
new file mode 100644
index 0000000..bdb57d8
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/apalis-imx6.conf
@@ -0,0 +1,44 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/toradex.inc
31
32DEPLOY_CONF_NAME = "Toradex Apalis iMX6"
33
34IMAGE_FSTYPES += "teziimg"
35
36BOOT_SCRIPTS += " \
37 u-boot-${MACHINE}.imx-spl:${MACHINEDIR}/u-boot.imx-spl \
38 SPL-${MACHINE}-spl:${MACHINEDIR}/SPL \
39 "
40
41SERIAL_CONSOLES = "115200;ttymxc0 \
42 115200;ttymxc1"
43
44KERNEL_MODULE_AUTOLOAD += "atmel_mxt_ts"
diff --git a/meta-boot2qt-distro/conf/distro/include/beagleboard.conf b/meta-boot2qt-distro/conf/distro/include/beagleboard.conf
new file mode 100644
index 0000000..d9b92f0
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/beagleboard.conf
@@ -0,0 +1,34 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/ti.inc
31
32DEPLOY_CONF_NAME = "BeagleBoard"
33
34DISTRO_FEATURES_remove = "webengine opengl"
diff --git a/meta-boot2qt-distro/conf/distro/include/beaglebone.conf b/meta-boot2qt-distro/conf/distro/include/beaglebone.conf
new file mode 100644
index 0000000..099be56
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/beaglebone.conf
@@ -0,0 +1,36 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/ti.inc
31
32DEPLOY_CONF_NAME = "BeagleBone Black"
33
34DISTRO_FEATURES_remove = "webengine"
35
36BOOT_SPACE = "33792"
diff --git a/meta-boot2qt-distro/conf/distro/include/boundary.inc b/meta-boot2qt-distro/conf/distro/include/boundary.inc
new file mode 100644
index 0000000..c8f5424
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/boundary.inc
@@ -0,0 +1,43 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/fsl.inc
31
32BBMASK += " \
33 meta-boundary/recipes-browser/chromium \
34 meta-boundary/recipes-core/init-ifupdown \
35 meta-boundary/recipes-mozilla/firefox \
36 "
37
38EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-boundary"
39
40MACHINE_EXTRA_INSTALL += "\
41 kernel-module-qcacld \
42 linux-firmware-bdsdmac-wlan \
43 "
diff --git a/meta-boot2qt-distro/conf/distro/include/colibri-imx6.conf b/meta-boot2qt-distro/conf/distro/include/colibri-imx6.conf
new file mode 100644
index 0000000..814676b
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/colibri-imx6.conf
@@ -0,0 +1,39 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/toradex.inc
31
32DEPLOY_CONF_NAME = "Toradex Colibri iMX6"
33
34IMAGE_FSTYPES += "teziimg"
35
36BOOT_SCRIPTS += " \
37 u-boot-${MACHINE}.imx-spl:${MACHINEDIR}/u-boot.imx-spl \
38 SPL-${MACHINE}-spl:${MACHINEDIR}/SPL \
39 "
diff --git a/meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf b/meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf
new file mode 100644
index 0000000..4e0daa7
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/colibri-imx7.conf
@@ -0,0 +1,46 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/toradex.inc
31
32DEPLOY_CONF_NAME = "Toradex Colibri iMX7"
33
34IMAGE_FSTYPES += "teziimg"
35
36BOOT_SCRIPTS += " \
37 u-boot-nand.imx:${MACHINEDIR}/u-boot-nand.imx \
38 "
39
40PREFERRED_PROVIDER_virtual/egl = "opengldummy"
41PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy"
42
43DISTRO_FEATURES_remove = "webengine wayland"
44
45# try to limit the maximum size of the tezi image
46RDEPENDS_packagegroup-b2qt-embedded-base_remove_pn-packagegroup-b2qt-embedded-base = "linux-firmware"
diff --git a/meta-boot2qt-distro/conf/distro/include/colibri-vf.conf b/meta-boot2qt-distro/conf/distro/include/colibri-vf.conf
new file mode 100644
index 0000000..e4c025b
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/colibri-vf.conf
@@ -0,0 +1,43 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/toradex.inc
31
32DEPLOY_CONF_NAME = "Toradex Colibri VF"
33
34IMAGE_ROOTFS_ALIGNMENT_colibri-vf = "1024"
35
36BOOT_SCRIPTS += " \
37 u-boot-nand.imx:${MACHINEDIR}/u-boot-nand.imx \
38 "
39
40PREFERRED_PROVIDER_virtual/egl = "opengldummy"
41PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy"
42
43DISTRO_FEATURES_remove = "webengine wayland"
diff --git a/meta-boot2qt-distro/conf/distro/include/emulator.conf b/meta-boot2qt-distro/conf/distro/include/emulator.conf
new file mode 100644
index 0000000..b6125ae
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/emulator.conf
@@ -0,0 +1,52 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30IMAGE_CLASSES += "image-hdd"
31IMAGE_ROOTFS_ALIGNMENT = "1048576"
32ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_BASENAME}-${MACHINE}.ext3"
33IMAGE_FSTYPES = "ext3"
34
35QBSP_IMAGE_CONTENT = "${IMAGE_LINK_NAME}.hdd"
36
37MACHINE_EXTRA_RRECOMMENDS += "\
38 kernel-module-snd-intel8x0 \
39 "
40
41PREFERRED_PROVIDER_virtual/egl = "qtglesstream-dummy-client"
42PREFERRED_PROVIDER_virtual/libgles2 = "qtglesstream-dummy-client"
43
44KERNEL_MODULE_AUTOLOAD += "snd-intel8x0 vboxguest vboxsf"
45
46DISTRO_FEATURES_remove = "webengine opengl wayland"
47
48MACHINE_EXTRA_INSTALL += "\
49 mount-vboxsf \
50 qtsystems \
51 qtglesstream \
52 "
diff --git a/meta-boot2qt-distro/conf/distro/include/fsl.inc b/meta-boot2qt-distro/conf/distro/include/fsl.inc
new file mode 100644
index 0000000..32fec1b
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/fsl.inc
@@ -0,0 +1,38 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30BBMASK += "meta-freescale/dynamic-layers/qt5-layer/recipes-qt/qt5"
31
32IMAGE_FSTYPES += "ext3 sdcard"
33IMAGE_CLASSES += "image_types_fsl"
34
35QBSP_IMAGE_CONTENT ?= "\
36 ${IMAGE_LINK_NAME}.img \
37 ${IMAGE_LINK_NAME}.conf \
38 "
diff --git a/meta-boot2qt-distro/conf/distro/include/h3ulcb.conf b/meta-boot2qt-distro/conf/distro/include/h3ulcb.conf
new file mode 100644
index 0000000..ddb40e0
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/h3ulcb.conf
@@ -0,0 +1,32 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/rcar-gen3.inc
31
32DEPLOY_CONF_NAME = "Renesas R-Car-H3 Starter Kit Premier"
diff --git a/meta-boot2qt-distro/conf/distro/include/h3ulcb.pre.inc b/meta-boot2qt-distro/conf/distro/include/h3ulcb.pre.inc
new file mode 100644
index 0000000..ad1e9aa
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/h3ulcb.pre.inc
@@ -0,0 +1 @@
SOC_FAMILY = "r8a7795"
diff --git a/meta-boot2qt-distro/conf/distro/include/imx6dlsabresd.conf b/meta-boot2qt-distro/conf/distro/include/imx6dlsabresd.conf
new file mode 100644
index 0000000..af49983
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/imx6dlsabresd.conf
@@ -0,0 +1,32 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30require imx6qsabresd.conf
31
32DEPLOY_CONF_NAME = "Freescale SABRE SD i.MX6Dual"
diff --git a/meta-boot2qt-distro/conf/distro/include/imx6qsabresd.conf b/meta-boot2qt-distro/conf/distro/include/imx6qsabresd.conf
new file mode 100644
index 0000000..683c601
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/imx6qsabresd.conf
@@ -0,0 +1,41 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/fsl.inc
31include conf/distro/include/opencv.inc
32
33DEPLOY_CONF_NAME = "Freescale SABRE SD i.MX6Quad"
34
35KERNEL_MODULE_AUTOLOAD += "mxc_v4l2_capture"
36
37# add support for both imx6qsabresd and imx6dlsabresd
38KERNEL_DEVICETREE = "imx6q-sabresd.dtb imx6q-sabresd-ldo.dtb imx6q-sabresd-hdcp.dtb \
39 imx6dl-sabresd.dtb imx6dl-sabresd-ldo.dtb imx6dl-sabresd-hdcp.dtb \
40 "
41MACHINE_FIRMWARE_append = " firmware-imx-vpu-imx6q firmware-imx-vpu-imx6d"
diff --git a/meta-boot2qt-distro/conf/distro/include/imx7dsabresd.conf b/meta-boot2qt-distro/conf/distro/include/imx7dsabresd.conf
new file mode 100644
index 0000000..962077c
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/imx7dsabresd.conf
@@ -0,0 +1,34 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/fsl.inc
31
32DEPLOY_CONF_NAME = "NXP SABRE SD i.MX7 Dual"
33
34DISTRO_FEATURES_remove = "webengine"
diff --git a/meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf b/meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf
new file mode 100644
index 0000000..1d30445
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/imx7s-warp.conf
@@ -0,0 +1,39 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/fsl.inc
31
32DEPLOY_CONF_NAME = "i.MX7S WaRP"
33
34PREFERRED_PROVIDER_virtual/egl = "opengldummy"
35PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy"
36
37DISTRO_FEATURES_remove = "webengine wayland"
38
39KERNEL_DEVICETREE = "imx7d-warp.dtb"
diff --git a/meta-boot2qt-distro/conf/distro/include/intel-corei7-64.conf b/meta-boot2qt-distro/conf/distro/include/intel-corei7-64.conf
new file mode 100644
index 0000000..0c8200a
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/intel-corei7-64.conf
@@ -0,0 +1,50 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DEPLOY_CONF_NAME = "Intel NUC"
31
32DISTRO_FEATURES_remove = "usbgadget"
33
34IMAGE_CLASSES += "image_dd_efi"
35IMAGE_FSTYPES += "ext3 dd"
36
37QBSP_IMAGE_CONTENT ?= "\
38 ${IMAGE_LINK_NAME}.img \
39 ${IMAGE_LINK_NAME}.conf \
40 "
41
42INITRAMFS_IMAGE = "initramfs-basic"
43
44SYSVINIT_ENABLED_GETTYS = "1"
45
46MACHINE_EXTRA_INSTALL += "\
47 grub-efi-config \
48 "
49
50SERIAL_CONSOLES += "115200;ttyUSB0"
diff --git a/meta-boot2qt-distro/conf/distro/include/jetson-tx1.conf b/meta-boot2qt-distro/conf/distro/include/jetson-tx1.conf
new file mode 100644
index 0000000..ca82ab0
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/jetson-tx1.conf
@@ -0,0 +1,32 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DEPLOY_CONF_NAME = "NVIDIA Jetson TX1"
31
32include conf/distro/include/jetson.inc
diff --git a/meta-boot2qt-distro/conf/distro/include/jetson-tx2.conf b/meta-boot2qt-distro/conf/distro/include/jetson-tx2.conf
new file mode 100644
index 0000000..7ab3fb0
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/jetson-tx2.conf
@@ -0,0 +1,32 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DEPLOY_CONF_NAME = "NVIDIA Jetson TX2"
31
32include conf/distro/include/jetson.inc
diff --git a/meta-boot2qt-distro/conf/distro/include/jetson.inc b/meta-boot2qt-distro/conf/distro/include/jetson.inc
new file mode 100644
index 0000000..98c71f4
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/jetson.inc
@@ -0,0 +1,44 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30PREFERRED_PROVIDER_libdrm-tegra = "libdrm-tegra"
31
32# use mmc0
33ROOTFS_DEVICE = "mmcblk1p1"
34
35INITRAMFS_MAXSIZE = "165888"
36IMAGE_CLASSES += "image_types_tegra"
37IMAGE_FSTYPES += "tegraflash"
38IMAGE_ROOTFS_ALIGNMENT = "1024"
39UBOOT_SUFFIX = "bin"
40
41QBSP_IMAGE_CONTENT = "\
42 ${IMAGE_LINK_NAME}.img \
43 ${IMAGE_LINK_NAME}.conf \
44 "
diff --git a/meta-boot2qt-distro/conf/distro/include/m3ulcb.conf b/meta-boot2qt-distro/conf/distro/include/m3ulcb.conf
new file mode 100644
index 0000000..cff7893
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/m3ulcb.conf
@@ -0,0 +1,32 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/rcar-gen3.inc
31
32DEPLOY_CONF_NAME = "Renesas R-Car-M3 Starter Kit Pro"
diff --git a/meta-boot2qt-distro/conf/distro/include/m3ulcb.pre.inc b/meta-boot2qt-distro/conf/distro/include/m3ulcb.pre.inc
new file mode 100644
index 0000000..c0429db
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/m3ulcb.pre.inc
@@ -0,0 +1 @@
SOC_FAMILY = "r8a7796"
diff --git a/meta-boot2qt-distro/conf/distro/include/nitrogen6x.conf b/meta-boot2qt-distro/conf/distro/include/nitrogen6x.conf
new file mode 100644
index 0000000..894d51d
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/nitrogen6x.conf
@@ -0,0 +1,87 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/boundary.inc
31include conf/distro/include/opencv.inc
32
33DEPLOY_CONF_NAME = "Boundary Devices i.MX6"
34
35BOOT_SPACE = "16384"
36BOOT_SCRIPTS += "6x_upgrade-${MACHINE}:6x_upgrade \
37 u-boot-nit6xlite-*.imx:u-boot.nit6xlite \
38 u-boot-nit6xlite1g-*.imx:u-boot.nit6xlite1g \
39 u-boot-nitrogen6dl-*.imx:u-boot.nitrogen6dl \
40 u-boot-nitrogen6dl2g-*.imx:u-boot.nitrogen6dl2g \
41 u-boot-nitrogen6q2g-*.imx:u-boot.nitrogen6q2g \
42 u-boot-nitrogen6q-*.imx:u-boot.nitrogen6q \
43 u-boot-nitrogen6q_fl-*.imx:u-boot.nitrogen6q_fl \
44 u-boot-nitrogen6qp_max-*.imx:u-boot.nitrogen6qp_max \
45 u-boot-nitrogen6s1g-*.imx:u-boot.nitrogen6s1g \
46 u-boot-nitrogen6s-*.imx:u-boot.nitrogen6s \
47 u-boot-nitrogen6sx-*.imx:u-boot.nitrogen6sx \
48 u-boot-nitrogen6_lum_dl1-*.imx:u-boot.nitrogen6_lum_dl1 \
49 u-boot-nitrogen6_max-*.imx:u-boot.nitrogen6_max \
50 u-boot-nitrogen6_vm1g-*.imx:u-boot.nitrogen6_vm1g \
51 u-boot-nitrogen6_vm-*.imx:u-boot.nitrogen6_vm \
52 "
53
54PREFERRED_PROVIDER_virtual/bootloader = "u-boot-boundary"
55
56UBOOT_MACHINE = ""
57UBOOT_CONFIG ??= "nit6xlite nit6xlite1g \
58 nitrogen6dl nitrogen6dl2g \
59 nitrogen6q2g nitrogen6q nitrogen6q_fl nitrogen6qp_max \
60 nitrogen6s1g nitrogen6s nitrogen6sx \
61 nitrogen6_lum_dl1 nitrogen6_max \
62 nitrogen6_vm1g nitrogen6_vm \
63 "
64
65UBOOT_CONFIG[nit6xlite] = "nit6xlite_config"
66UBOOT_CONFIG[nit6xlite1g] = "nit6xlite1g_config"
67UBOOT_CONFIG[nitrogen6dl] = "nitrogen6dl_config"
68UBOOT_CONFIG[nitrogen6dl2g] = "nitrogen6dl2g_config"
69UBOOT_CONFIG[nitrogen6q2g] = "nitrogen6q2g_config"
70UBOOT_CONFIG[nitrogen6q] = "nitrogen6q_config"
71UBOOT_CONFIG[nitrogen6q_fl] = "nitrogen6q_fl_config"
72UBOOT_CONFIG[nitrogen6qp_max] = "nitrogen6qp_max_config"
73UBOOT_CONFIG[nitrogen6s1g] = "nitrogen6s1g_config"
74UBOOT_CONFIG[nitrogen6s] = "nitrogen6s_config"
75UBOOT_CONFIG[nitrogen6sx] = "nitrogen6sx_config"
76UBOOT_CONFIG[nitrogen6_lum_dl1] = "nitrogen6_lum_dl1_config"
77UBOOT_CONFIG[nitrogen6_max] = "nitrogen6_max_config"
78UBOOT_CONFIG[nitrogen6_vm1g] = "nitrogen6_vm1g_config"
79UBOOT_CONFIG[nitrogen6_vm] = "nitrogen6_vm_config"
80
81KERNEL_DEVICETREE += "\
82 imx6dl-nit6xlite.dtb \
83 "
84
85MACHINE_EXTRA_INSTALL += "\
86 bcm4330-nvram-config \
87 "
diff --git a/meta-boot2qt-distro/conf/distro/include/nitrogen7.conf b/meta-boot2qt-distro/conf/distro/include/nitrogen7.conf
new file mode 100644
index 0000000..1614b04
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/nitrogen7.conf
@@ -0,0 +1,38 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/boundary.inc
31
32DEPLOY_CONF_NAME = "Boundary Devices i.MX7"
33
34PREFERRED_PROVIDER_virtual/egl = "opengldummy"
35PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy"
36
37DISTRO_FEATURES_remove = "webengine wayland"
38
diff --git a/meta-boot2qt-distro/conf/distro/include/opencv.inc b/meta-boot2qt-distro/conf/distro/include/opencv.inc
new file mode 100644
index 0000000..a1d37df
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/opencv.inc
@@ -0,0 +1,39 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30MACHINE_EXTRA_INSTALL += "\
31 libopencv-core \
32 libopencv-imgproc \
33 libopencv-objdetect \
34 "
35
36MACHINE_EXTRA_INSTALL_SDK += " \
37 opencv-dev \
38 "
39
diff --git a/meta-boot2qt-distro/conf/distro/include/raspberrypi.conf b/meta-boot2qt-distro/conf/distro/include/raspberrypi.conf
new file mode 100644
index 0000000..4429fa9
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/raspberrypi.conf
@@ -0,0 +1,37 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/raspberrypi.inc
31
32DEPLOY_CONF_NAME = "Raspberry Pi"
33
34DISTRO_FEATURES_remove = "webengine"
35
36# additional memory for GPU
37GPU_MEM = "128"
diff --git a/meta-boot2qt-distro/conf/distro/include/raspberrypi.inc b/meta-boot2qt-distro/conf/distro/include/raspberrypi.inc
new file mode 100644
index 0000000..f980e13
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/raspberrypi.inc
@@ -0,0 +1,48 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30IMAGE_FSTYPES += "ext3 rpi-sdimg"
31
32QBSP_IMAGE_CONTENT ?= "\
33 ${IMAGE_LINK_NAME}.img \
34 ${IMAGE_LINK_NAME}.conf \
35 "
36
37MACHINE_EXTRA_INSTALL += "\
38 omxplayer \
39 "
40
41KERNEL_MODULE_AUTOLOAD += "snd-bcm2835 bcm2835-v4l2"
42KERNEL_MODULE_PROBECONF += "bcm2835-v4l2"
43module_conf_bcm2835-v4l2 = "options bcm2835-v4l2 gst_v4l2src_is_broken=1"
44
45# video camera support
46VIDEO_CAMERA = "1"
47
48MACHINE_FEATURES += "pitft"
diff --git a/meta-boot2qt-distro/conf/distro/include/raspberrypi0.conf b/meta-boot2qt-distro/conf/distro/include/raspberrypi0.conf
new file mode 100644
index 0000000..647e597
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/raspberrypi0.conf
@@ -0,0 +1,37 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/raspberrypi.inc
31
32DEPLOY_CONF_NAME = "Raspberry Pi Zero"
33
34DISTRO_FEATURES_remove = "webengine"
35
36# additional memory for GPU
37GPU_MEM = "128"
diff --git a/meta-boot2qt-distro/conf/distro/include/raspberrypi2.conf b/meta-boot2qt-distro/conf/distro/include/raspberrypi2.conf
new file mode 100644
index 0000000..93215d3
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/raspberrypi2.conf
@@ -0,0 +1,36 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/raspberrypi.inc
31
32DEPLOY_CONF_NAME = "Raspberry Pi 2"
33
34# additional memory for GPU
35GPU_MEM = "256"
36
diff --git a/meta-boot2qt-distro/conf/distro/include/raspberrypi3.conf b/meta-boot2qt-distro/conf/distro/include/raspberrypi3.conf
new file mode 100644
index 0000000..ef090a1
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/raspberrypi3.conf
@@ -0,0 +1,36 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/raspberrypi.inc
31
32DEPLOY_CONF_NAME = "Raspberry Pi 3"
33
34# additional memory for GPU
35GPU_MEM = "256"
36
diff --git a/meta-boot2qt-distro/conf/distro/include/rcar-gen3.inc b/meta-boot2qt-distro/conf/distro/include/rcar-gen3.inc
new file mode 100644
index 0000000..4350dda
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/rcar-gen3.inc
@@ -0,0 +1,67 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/fsl.inc
31
32QBSP_IMAGE_CONTENT = "\
33 ${IMAGE_LINK_NAME}.img \
34 ${IMAGE_LINK_NAME}.conf \
35 "
36
37BOOT_SPACE = "16384"
38
39# uncomment following if using the evaluation drivers
40#DISTRO_FEATURES_append = " use_eva_pkg"
41
42MACHINE_FEATURES_append = " gsx multimedia"
43
44MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm"
45
46#DISTRO_FEATURES_append = " pam"
47PREFERRED_PROVIDER_virtual/libgles1 = ""
48PREFERRED_PROVIDER_virtual/libgles2 = "gles-user-module"
49PREFERRED_PROVIDER_virtual/egl = "gles-user-module"
50PREFERRED_PROVIDER_virtual/libgl = ""
51PREFERRED_PROVIDER_virtual/mesa = ""
52PREFERRED_PROVIDER_libgbm = "libgbm"
53PREFERRED_PROVIDER_libgbm-dev = "libgbm"
54PREFERRED_PROVIDER_virtual/libgbm = "libgbm"
55BBMASK += "mesa-gl"
56
57# internal copy of R-Car_Series_Evaluation_Software_Packages used for CI
58FILESEXTRAPATHS_append = "${BSPDIR}/sources/renesas-rcar-gen3/${PN}:"
59
60BBMASK += "\
61 meta-linaro/meta-optee/recipes-security/optee \
62 meta-rcar-gen3/recipes-connectivity/ppp \
63 meta-rcar-gen3/recipes-core/packagegroups \
64 meta-rcar-gen3/recipes-graphics/mesa \
65 meta-rcar-gen3/recipes-multimedia/gstreamer \
66 meta-rcar-gen3/recipes-multimedia/webp \
67 "
diff --git a/meta-boot2qt-distro/conf/distro/include/salvator-x.conf b/meta-boot2qt-distro/conf/distro/include/salvator-x.conf
new file mode 100644
index 0000000..c44dbe1
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/salvator-x.conf
@@ -0,0 +1,32 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/rcar-gen3.inc
31
32DEPLOY_CONF_NAME = "Renesas R-Car H3/M3 Salvator-X"
diff --git a/meta-boot2qt-distro/conf/distro/include/salvator-x.pre.inc b/meta-boot2qt-distro/conf/distro/include/salvator-x.pre.inc
new file mode 100644
index 0000000..e87933c
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/salvator-x.pre.inc
@@ -0,0 +1 @@
SOC_FAMILY ?= "r8a7795"
diff --git a/meta-boot2qt-distro/conf/distro/include/smarc-samx6i.conf b/meta-boot2qt-distro/conf/distro/include/smarc-samx6i.conf
new file mode 100644
index 0000000..240e3dd
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/smarc-samx6i.conf
@@ -0,0 +1,45 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/fsl.inc
31
32DEPLOY_CONF_NAME = "Kontron SMARC-sAMX6i"
33
34KERNEL_IMAGETYPE = "uImage"
35
36MACHINE_EXTRA_INSTALL += "\
37 kernel-devicetree \
38 "
39
40KERNEL_MODULE_AUTOLOAD += "mxc_v4l2_capture"
41
42BBMASK += "meta-smx6/recipes-qt"
43
44# examples is added in meta-smx6 layer conf
45PACKAGECONFIG_remove_pn-qtbase = "examples"
diff --git a/meta-boot2qt-distro/conf/distro/include/tegra-t18x.conf b/meta-boot2qt-distro/conf/distro/include/tegra-t18x.conf
new file mode 100644
index 0000000..6c79d2c
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/tegra-t18x.conf
@@ -0,0 +1,97 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30IMAGE_FSTYPES += "tar.gz"
31
32QBSP_IMAGE_CONTENT = "\
33 ${IMAGE_LINK_NAME}.tar.gz \
34 "
35
36PLATFORM_TOPDIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186")}'
37NVLAYER_DIR ?= "${TOPDIR}/../sources/nvidia-layer"
38
39MACHINE_EXTRA_INSTALL += "\
40 tegra-firmware-fecs \
41 tegra-firmware-gmicrocode \
42 tegra-firmware-gpccs \
43 tegra-firmware-gpmu \
44 tegra-firmware-gshader \
45 tegra-firmware-pmu \
46 tegra-firmware-prod-fuse \
47 tegra-firmware-xusb \
48 tegra-firmware-vic \
49 tegra-firmware-nvdec \
50 tegra-firmware-nvenc \
51 tegra-firmware-nvjpeg \
52 tegra-drivers \
53 virtual/libegl \
54 virtual/libgles2 \
55 libdrm-nv \
56 "
57
58PREFERRED_PROVIDER_virtual/libgles2 = "tegra-drivers"
59PREFERRED_PROVIDER_virtual/libgles2-dev = "tegra-drivers"
60PREFERRED_PROVIDER_virtual/libegl = "tegra-drivers"
61PREFERRED_PROVIDER_virtual/libegl-dev = "tegra-drivers"
62PREFERRED_PROVIDER_virtual/egl = "tegra-drivers"
63PREFERRED_PROVIDER_virtual/libgl = "tegra-drivers"
64PREFERRED_PROVIDER_virtual/libgles1 = "tegra-drivers"
65PREFERRED_PROVIDER_virtual/mesa = "tegra-drivers"
66PREFERRED_PROVIDER_drm = "libdrm-nv"
67PREFERRED_PROVIDER_libdrm = "libdrm-nv"
68PREFERRED_PROVIDER_virtual/kernel = "linux-nvidia"
69PREFERRED_VERSION_linux-libc-headers = "4.4"
70PREFERRED_VERSION_nativesdk-linux-libc-headers = "4.4"
71
72BBMASK += "\
73 meta-tegra/recipes-bsp/flashing \
74 meta-vib4/recipes-connectivity/openssl \
75 meta-vib4/recipes-core/busybox \
76 meta-vib4/recipes-core/glibc \
77 meta-vib4/recipes-core/images \
78 meta-vib4/recipes-core/kbd \
79 meta-vib4/recipes-core/packagegroups \
80 meta-vib4/recipes-core/toybox \
81 meta-vib4/recipes-devtools/binutils \
82 meta-vib4/recipes-devtools/gcc \
83 meta-vib4/recipes-dummy/files \
84 meta-vib4/recipes-extended/common-api \
85 meta-vib4/recipes-extended/persistence-common-object \
86 meta-vib4/recipes-extended/quota \
87 meta-vib4/recipes-extended/xz \
88 meta-vib4/recipes-graphics/wayland/libinput_%.bbappend \
89 meta-vib4/recipes-graphics/wayland/wayland-ivi-extension_%.bbappend \
90 meta-vib4/recipes-graphics/weston \
91 meta-vib4/recipes-kernel/linux-libc-headers \
92 meta-vib4/recipes-multimedia/audiomanager \
93 meta-vib4/recipes-navigation/gpsd \
94 meta-vib4/recipes-support/keyutils \
95 meta-vib4/recipes-support/lvm2 \
96 meta-vib4/recipes-yocto-ivi \
97 "
diff --git a/meta-boot2qt-distro/conf/distro/include/ti.inc b/meta-boot2qt-distro/conf/distro/include/ti.inc
new file mode 100644
index 0000000..80f90f2
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/ti.inc
@@ -0,0 +1,43 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/fsl.inc
31
32UBOOT_SUFFIX = "img"
33BOOT_SCRIPTS += "\
34 MLO-${MACHINE}:MLO \
35 u-boot-${MACHINE}.img:u-boot.img \
36 "
37
38EXTRA_IMAGEDEPENDS += "u-boot"
39
40PREFERRED_PROVIDER_virtual/egl = "ti-sgx-ddk-um"
41PREFERRED_PROVIDER_virtual/libgles1 = "ti-sgx-ddk-um"
42PREFERRED_PROVIDER_virtual/libgles2 = "ti-sgx-ddk-um"
43PREFERRED_PROVIDER_virtual/mesa = "ti-sgx-ddk-um"
diff --git a/meta-boot2qt-distro/conf/distro/include/toradex.inc b/meta-boot2qt-distro/conf/distro/include/toradex.inc
new file mode 100644
index 0000000..83b6d45
--- /dev/null
+++ b/meta-boot2qt-distro/conf/distro/include/toradex.inc
@@ -0,0 +1,48 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30include conf/distro/include/fsl.inc
31
32BBMASK += "\
33 meta-toradex-nxp/recipes-graphics/xorg-xserver \
34 meta-toradex-bsp-common/recipes-devtools/python \
35 meta-toradex-bsp-common/recipes-devtools/e2fsprogs \
36 "
37
38PREFERRED_PROVIDER_u-boot = "u-boot-toradex"
39
40EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-toradex"
41
42MACHINEDIR = "${@d.getVar('MACHINE', True).replace('-','_')}"
43BOOT_SCRIPTS += " \
44 fwd_blk.img:flash_blk.img \
45 fwd_eth.img:flash_eth.img \
46 fwd_mmc.img:flash_mmc.img \
47 ${MACHINE}:${MACHINEDIR} \
48 "
diff --git a/meta-boot2qt-distro/conf/layer.conf b/meta-boot2qt-distro/conf/layer.conf
new file mode 100644
index 0000000..268f6d3
--- /dev/null
+++ b/meta-boot2qt-distro/conf/layer.conf
@@ -0,0 +1,40 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# We have a conf and classes directory, append to BBPATH
31BBPATH .= ":${LAYERDIR}"
32
33# We have a recipes directory, add to BBFILES
34BBFILES += "${LAYERDIR}/recipes*/*/*.bb \
35 ${LAYERDIR}/recipes*/*/*.bbappend \
36 "
37
38BBFILE_COLLECTIONS += "b2qt-distro"
39BBFILE_PATTERN_b2qt-distro := "^${LAYERDIR}/"
40BBFILE_PRIORITY_b2qt-distro = "20"
diff --git a/meta-boot2qt-distro/conf/local.conf.sample b/meta-boot2qt-distro/conf/local.conf.sample
new file mode 100644
index 0000000..ae60ef4
--- /dev/null
+++ b/meta-boot2qt-distro/conf/local.conf.sample
@@ -0,0 +1,289 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30#
31# This file is your local configuration file and is where all local user settings
32# are placed. The comments in this file give some guide to the options a new user
33# to the system might want to change but pretty much any configuration option can
34# be set in this file. More adventurous users can look at local.conf.extended
35# which contains other examples of configuration which can be placed in this file
36# but new users likely won't need any of them initially.
37#
38# Lines starting with the '#' character are commented out and in some cases the
39# default values are provided as comments to show people example syntax. Enabling
40# the option is a question of removing the # character and making any change to the
41# variable as required.
42
43#
44# Parallelism Options
45#
46# These two options control how much parallelism BitBake should use. The first
47# option determines how many tasks bitbake should run in parallel:
48#
49# Default to setting automatically based on cpu count
50BB_NUMBER_THREADS ?= "${@oe.utils.cpu_count()}"
51#
52# The second option controls how many processes make should run in parallel when
53# running compile tasks:
54#
55# Default to setting automatically based on cpu count
56PARALLEL_MAKE ?= "-j ${@oe.utils.cpu_count()}"
57#
58# For a quad-core machine, BB_NUMBER_THREADS = "4", PARALLEL_MAKE = "-j 4" would
59# be appropriate for example.
60
61#
62# Machine Selection
63#
64# You need to select a specific machine to target the build with. There are a selection
65# of emulated machines available which can boot and run in the QEMU emulator:
66#
67#MACHINE ?= "qemuarm"
68#MACHINE ?= "qemumips"
69#MACHINE ?= "qemuppc"
70#MACHINE ?= "qemux86"
71#MACHINE ?= "qemux86-64"
72#
73# There are also the following hardware board target machines included for
74# demonstration purposes:
75#
76#MACHINE ?= "beaglebone"
77#MACHINE ?= "genericx86"
78#MACHINE ?= "genericx86-64"
79#MACHINE ?= "mpc8315e-rdb"
80#MACHINE ?= "edgerouter"
81#
82# This sets the default machine to be qemux86 if no other machine is selected:
83MACHINE ??= "qemux86"
84MACHINE_HOSTNAME ?= "b2qt-${MACHINE}"
85
86#
87# Where to place downloads
88#
89# During a first build the system will download many different source code tarballs
90# from various upstream projects. This can take a while, particularly if your network
91# connection is slow. These are all stored in DL_DIR. When wiping and rebuilding you
92# can preserve this directory to speed up this part of subsequent builds. This directory
93# is safe to share between multiple builds on the same machine too.
94#
95# The default is a downloads directory under TOPDIR which is the build directory.
96#
97DL_DIR ?= "${TOPDIR}/../downloads"
98
99#
100# Where to place shared-state files
101#
102# BitBake has the capability to accelerate builds based on previously built output.
103# This is done using "shared state" files which can be thought of as cache objects
104# and this option determines where those files are placed.
105#
106# You can wipe out TMPDIR leaving this directory intact and the build would regenerate
107# from these files if no changes were made to the configuration. If changes were made
108# to the configuration, only shared state files where the state was still valid would
109# be used (done using checksums).
110#
111# The default is a sstate-cache directory under TOPDIR.
112#
113SSTATE_DIR ?= "${TOPDIR}/../sstate-cache"
114
115#
116# Where to place the build output
117#
118# This option specifies where the bulk of the building work should be done and
119# where BitBake should place its temporary files and output. Keep in mind that
120# this includes the extraction and compilation of many applications and the toolchain
121# which can use Gigabytes of hard disk space.
122#
123# The default is a tmp directory under TOPDIR.
124#
125#TMPDIR = "${TOPDIR}/tmp"
126
127#
128# Default policy config
129#
130# The distribution setting controls which policy settings are used as defaults.
131# The default value is fine for general Yocto project use, at least initially.
132# Ultimately when creating custom policy, people will likely end up subclassing
133# these defaults.
134#
135DISTRO ?= "b2qt"
136# As an example of a subclass there is a "bleeding" edge policy configuration
137# where many versions are set to the absolute latest code from the upstream
138# source control systems. This is just mentioned here as an example, its not
139# useful to most new users.
140# DISTRO ?= "poky-bleeding"
141
142#
143# Package Management configuration
144#
145# This variable lists which packaging formats to enable. Multiple package backends
146# can be enabled at once and the first item listed in the variable will be used
147# to generate the root filesystems.
148# Options are:
149# - 'package_deb' for debian style deb files
150# - 'package_ipk' for ipk files are used by opkg (a debian style embedded package manager)
151# - 'package_rpm' for rpm style packages
152# E.g.: PACKAGE_CLASSES ?= "package_rpm package_deb package_ipk"
153# We default to rpm:
154PACKAGE_CLASSES ?= "package_ipk"
155
156#
157# SDK/ADT target architecture
158#
159# This variable specifies the architecture to build SDK/ADT items for and means
160# you can build the SDK packages for architectures other than the machine you are
161# running the build on (i.e. building i686 packages on an x86_64 host).
162# Supported values are i686 and x86_64
163#SDKMACHINE ?= "i686"
164
165#
166# Extra image configuration defaults
167#
168# The EXTRA_IMAGE_FEATURES variable allows extra packages to be added to the generated
169# images. Some of these options are added to certain image types automatically. The
170# variable can contain the following options:
171# "dbg-pkgs" - add -dbg packages for all installed packages
172# (adds symbol information for debugging/profiling)
173# "dev-pkgs" - add -dev packages for all installed packages
174# (useful if you want to develop against libs in the image)
175# "ptest-pkgs" - add -ptest packages for all ptest-enabled packages
176# (useful if you want to run the package test suites)
177# "tools-sdk" - add development tools (gcc, make, pkgconfig etc.)
178# "tools-debug" - add debugging tools (gdb, strace)
179# "eclipse-debug" - add Eclipse remote debugging support
180# "tools-profile" - add profiling tools (oprofile, exmap, lttng, valgrind)
181# "tools-testapps" - add useful testing tools (ts_print, aplay, arecord etc.)
182# "debug-tweaks" - make an image suitable for development
183# e.g. ssh root access has a blank password
184# There are other application targets that can be used here too, see
185# meta/classes/image.bbclass and meta/classes/core-image.bbclass for more details.
186# We default to enabling the debugging tweaks.
187EXTRA_IMAGE_FEATURES = "debug-tweaks"
188
189#
190# Additional image features
191#
192# The following is a list of additional classes to use when building images which
193# enable extra features. Some available options which can be included in this variable
194# are:
195# - 'buildstats' collect build statistics
196# - 'image-mklibs' to reduce shared library files size for an image
197# - 'image-prelink' in order to prelink the filesystem image
198# - 'image-swab' to perform host system intrusion detection
199# NOTE: if listing mklibs & prelink both, then make sure mklibs is before prelink
200# NOTE: mklibs also needs to be explicitly enabled for a given image, see local.conf.extended
201USER_CLASSES ?= "buildstats image-mklibs"
202
203#
204# Runtime testing of images
205#
206# The build system can test booting virtual machine images under qemu (an emulator)
207# after any root filesystems are created and run tests against those images. To
208# enable this uncomment this line. See classes/testimage(-auto).bbclass for
209# further details.
210#TEST_IMAGE = "1"
211#
212# Interactive shell configuration
213#
214# Under certain circumstances the system may need input from you and to do this it
215# can launch an interactive shell. It needs to do this since the build is
216# multithreaded and needs to be able to handle the case where more than one parallel
217# process may require the user's attention. The default is iterate over the available
218# terminal types to find one that works.
219#
220# Examples of the occasions this may happen are when resolving patches which cannot
221# be applied, to use the devshell or the kernel menuconfig
222#
223# Supported values are auto, gnome, xfce, rxvt, screen, konsole (KDE 3.x only), none
224# Note: currently, Konsole support only works for KDE 3.x due to the way
225# newer Konsole versions behave
226#OE_TERMINAL = "auto"
227# By default disable interactive patch resolution (tasks will just fail instead):
228PATCHRESOLVE = "noop"
229
230#
231# Disk Space Monitoring during the build
232#
233# Monitor the disk space during the build. If there is less that 1GB of space or less
234# than 100K inodes in any key build location (TMPDIR, DL_DIR, SSTATE_DIR), gracefully
235# shutdown the build. If there is less that 100MB or 1K inodes, perform a hard abort
236# of the build. The reason for this is that running completely out of space can corrupt
237# files and damages the build in ways which may not be easily recoverable.
238BB_DISKMON_DIRS = "\
239 STOPTASKS,${TMPDIR},1G,100K \
240 STOPTASKS,${DL_DIR},1G,100K \
241 STOPTASKS,${SSTATE_DIR},1G,100K \
242 ABORT,${TMPDIR},100M,1K \
243 ABORT,${DL_DIR},100M,1K \
244 ABORT,${SSTATE_DIR},100M,1K"
245
246#
247# Shared-state files from other locations
248#
249# As mentioned above, shared state files are prebuilt cache data objects which can
250# used to accelerate build time. This variable can be used to configure the system
251# to search other mirror locations for these objects before it builds the data itself.
252#
253# This can be a filesystem directory, or a remote url such as http or ftp. These
254# would contain the sstate-cache results from previous builds (possibly from other
255# machines). This variable works like fetcher MIRRORS/PREMIRRORS and points to the
256# cache locations to check for the shared objects.
257# NOTE: if the mirror uses the same structure as SSTATE_DIR, you need to add PATH
258# at the end as shown in the examples below. This will be substituted with the
259# correct path within the directory structure.
260#SSTATE_MIRRORS ?= "\
261#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
262#file://.* file:///some/local/dir/sstate/PATH"
263
264#
265# Qemu configuration
266#
267# By default qemu will build with a builtin VNC server where graphical output can be
268# seen. The two lines below enable the SDL backend too. This assumes there is a
269# libsdl library available on your build system.
270#PACKAGECONFIG_pn-qemu-native = "sdl"
271#PACKAGECONFIG_pn-nativesdk-qemu = "sdl"
272#ASSUME_PROVIDED += "libsdl-native"
273
274
275# CONF_VERSION is increased each time build/conf/ changes incompatibly and is used to
276# track the version of this file when it was generated. This can safely be ignored if
277# this doesn't mean anything to you.
278CONF_VERSION = "1"
279
280#INHERIT += "rm_work"
281INHERIT += "image-buildinfo"
282INHERIT += "internal-build"
283
284ACCEPT_FSL_EULA = "1"
285LICENSE_FLAGS_WHITELIST = "commercial"
286
287QT_SDK_PATH = ""
288
289include conf/distro/include/${MACHINE}.pre.inc
diff --git a/meta-boot2qt-distro/conf/machine/emulator.conf b/meta-boot2qt-distro/conf/machine/emulator.conf
new file mode 100644
index 0000000..2ab622e
--- /dev/null
+++ b/meta-boot2qt-distro/conf/machine/emulator.conf
@@ -0,0 +1,52 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30#@TYPE: Machine
31#@NAME: virtual box emulator
32#@DESCRIPTION: Machine configuration for running a common x86
33
34PREFERRED_PROVIDER_virtual/libgl ?= "mesa"
35PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa"
36PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa"
37
38PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto"
39
40require conf/machine/include/tune-i586.inc
41
42KERNEL_IMAGETYPE = "bzImage"
43
44SERIAL_CONSOLE = "115200 ttyS0"
45
46MACHINE_FEATURES += "x86"
47
48MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d virtualbox-guest-additions"
49
50MACHINE_FEATURES += "apm alsa pcmcia bluetooth irda usbgadget screen"
51
52SYSTEMD_DEFAULT_TARGET = "custom.target"
diff --git a/meta-boot2qt-distro/conf/machine/qemuarmv7.conf b/meta-boot2qt-distro/conf/machine/qemuarmv7.conf
new file mode 100644
index 0000000..530f802
--- /dev/null
+++ b/meta-boot2qt-distro/conf/machine/qemuarmv7.conf
@@ -0,0 +1,8 @@
1#@TYPE: Machine
2#@NAME: generic armv machine
3#@DESCRIPTION: Machine configuration for running a generic armv7
4
5DEFAULTTUNE = "armv7athf-neon"
6
7require conf/machine/include/qemu.inc
8require conf/machine/include/arm/arch-armv7a.inc
diff --git a/meta-boot2qt-distro/recipes-bsp/alsa/alsa-state.bbappend b/meta-boot2qt-distro/recipes-bsp/alsa/alsa-state.bbappend
new file mode 100644
index 0000000..dbeb030
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-bsp/alsa/alsa-state.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
diff --git a/meta-boot2qt-distro/recipes-bsp/alsa/alsa-state/emulator/asound.conf b/meta-boot2qt-distro/recipes-bsp/alsa/alsa-state/emulator/asound.conf
new file mode 100644
index 0000000..edd2e82
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-bsp/alsa/alsa-state/emulator/asound.conf
@@ -0,0 +1,4 @@
1pcm.!default {
2 type plug
3 slave.pcm "dmix"
4}
diff --git a/meta-boot2qt-distro/recipes-bsp/alsa/alsa-state/raspberrypi/asound.conf b/meta-boot2qt-distro/recipes-bsp/alsa/alsa-state/raspberrypi/asound.conf
new file mode 100644
index 0000000..83f7f9a
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-bsp/alsa/alsa-state/raspberrypi/asound.conf
@@ -0,0 +1,9 @@
1pcm.!default {
2 type hw
3 card 0
4}
5
6ctl.!default {
7 type hw
8 card 0
9}
diff --git a/meta-boot2qt-distro/recipes-bsp/v86d/v86d/fbsetup b/meta-boot2qt-distro/recipes-bsp/v86d/v86d/fbsetup
new file mode 100755
index 0000000..064e080
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-bsp/v86d/v86d/fbsetup
@@ -0,0 +1,3 @@
1#!/bin/sh
2
3/sbin/modprobe uvesafb mode_option=800x600-32 mtrr=3 scroll=ywrap
diff --git a/meta-boot2qt-distro/recipes-bsp/v86d/v86d/uvesafb.options.conf b/meta-boot2qt-distro/recipes-bsp/v86d/v86d/uvesafb.options.conf
new file mode 100644
index 0000000..7d0dc96
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-bsp/v86d/v86d/uvesafb.options.conf
@@ -0,0 +1 @@
options uvesafb mode_option=800x600-32 mtrr=3 scroll=ywrap
diff --git a/meta-boot2qt-distro/recipes-bsp/v86d/v86d_0.1.10.bbappend b/meta-boot2qt-distro/recipes-bsp/v86d/v86d_0.1.10.bbappend
new file mode 100644
index 0000000..bf72dee
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-bsp/v86d/v86d_0.1.10.bbappend
@@ -0,0 +1,39 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31
32SRC_URI += "file://uvesafb.options.conf"
33
34do_install_append() {
35 if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
36 install -d ${D}${sysconfdir}/modprobe.d
37 install -m 0644 ${WORKDIR}/uvesafb.options.conf ${D}${sysconfdir}/modprobe.d/uvesafb.conf
38 fi
39}
diff --git a/meta-boot2qt-distro/recipes-connectivity/connman-conf/connman-conf.bbappend b/meta-boot2qt-distro/recipes-connectivity/connman-conf/connman-conf.bbappend
new file mode 100644
index 0000000..06dc61d
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-connectivity/connman-conf/connman-conf.bbappend
@@ -0,0 +1,42 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31
32CONNMAN_SETTINGS_DIR := "${localstatedir}/lib/connman"
33
34FILES_${PN} += "${CONNMAN_SETTINGS_DIR}/settings"
35
36SRC_URI += "file://settings \
37 "
38
39do_install_append() {
40 install -d ${D}/${CONNMAN_SETTINGS_DIR}
41 install -m 0644 ${WORKDIR}/settings ${D}/${CONNMAN_SETTINGS_DIR}/settings
42}
diff --git a/meta-boot2qt-distro/recipes-connectivity/connman-conf/connman-conf/settings b/meta-boot2qt-distro/recipes-connectivity/connman-conf/connman-conf/settings
new file mode 100644
index 0000000..edfedd4
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-connectivity/connman-conf/connman-conf/settings
@@ -0,0 +1,5 @@
1[global]
2OfflineMode=false
3
4[Gadget]
5Enable=true
diff --git a/meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend b/meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend
new file mode 100644
index 0000000..fda246a
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend
@@ -0,0 +1,24 @@
1##############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: http://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:COMM$
9##
10## Commercial License Usage
11## Licensees holding valid commercial Qt licenses may use this file in
12## accordance with the commercial license agreement provided with the
13## Software or, alternatively, in accordance with the terms contained in
14## a written agreement between you and The Qt Company. For licensing terms
15## and conditions see http://www.qt.io/terms-conditions. For further
16## information use the contact form at http://www.qt.io/contact-us.
17##
18## $QT_END_LICENSE$
19##
20##############################################################################
21
22FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
23
24SRC_URI += "file://0001-disable-connman-when-booting-over-nfs-${PV}.patch"
diff --git a/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.33.patch b/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.33.patch
new file mode 100644
index 0000000..f893746
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.33.patch
@@ -0,0 +1,21 @@
1From df70770f33280a915abb413678088a078d82341a Mon Sep 17 00:00:00 2001
2From: Mikko Gronoff <mikko.gronoff@qt.io>
3Date: Tue, 20 Sep 2016 11:02:50 +0300
4Subject: [PATCH] Disable connman when booting over NFS
5
6---
7 src/connman.service.in | 1 +
8 1 file changed, 1 insertion(+)
9
10diff --git a/src/connman.service.in b/src/connman.service.in
11index 09dfec9..4132cf7 100644
12--- a/src/connman.service.in
13+++ b/src/connman.service.in
14@@ -6,6 +6,7 @@ RequiresMountsFor=@localstatedir@/lib/connman
15 After=dbus.service network-pre.target systemd-sysusers.service
16 Before=network.target multi-user.target shutdown.target
17 Wants=network.target
18+ConditionKernelCommandLine=!root=/dev/nfs
19
20 [Service]
21 Type=dbus
diff --git a/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.34.patch b/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.34.patch
new file mode 100644
index 0000000..8b46666
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-connectivity/connman/files/0001-disable-connman-when-booting-over-nfs-1.34.patch
@@ -0,0 +1,11 @@
1--- a/src/connman.service.in
2+++ b/src/connman.service.in
3@@ -7,6 +7,7 @@
4 Before=network.target multi-user.target shutdown.target
5 Wants=network.target
6 Conflicts=systemd-resolved.service
7+ConditionKernelCommandLine=!root=/dev/nfs
8
9 [Service]
10 Type=dbus
11
diff --git a/meta-boot2qt-distro/recipes-connectivity/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch b/meta-boot2qt-distro/recipes-connectivity/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch
new file mode 100644
index 0000000..9aa9648
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-connectivity/openssl/openssl/0001-Support-SYSROOT-in-c_rehash.patch
@@ -0,0 +1,96 @@
1From 9cf8fa1c4dae07a6aff194a3632bc499a813d3f8 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@theqtcompany.com>
3Date: Wed, 9 Sep 2015 13:37:28 +0300
4Subject: [PATCH] Support SYSROOT in c_rehash
5
6update-ca-certificates is ran during image creation, which in turn runs
7c_rehash. Since the symlinks in /etc/ssl/certs/ are pointing to absolute
8location, c_rehash does not find the actual files. Add support for SYSROOT
9environment variable and use it to locate the actual files during image
10creation.
11
12Upstream-status: Pending
13---
14 tools/c_rehash.in | 30 +++++++++++++++++-------------
15 1 file changed, 17 insertions(+), 13 deletions(-)
16
17diff --git a/tools/c_rehash.in b/tools/c_rehash.in
18index 92cb503..f3d2703 100644
19--- a/tools/c_rehash.in
20+++ b/tools/c_rehash.in
21@@ -7,6 +7,7 @@ my $dir;
22 my $prefix;
23
24 my $openssl = $ENV{OPENSSL} || "openssl";
25+my $sysroot = $ENV{SYSROOT} || "";
26 my $pwd;
27 my $verbose = 0;
28 my $symlink_exists=eval {symlink("",""); 1};
29@@ -101,16 +102,17 @@ sub hash_dir {
30 }
31 }
32 FILE: foreach $fname (grep {/\.(pem)|(crt)|(cer)|(crl)$/} @flist) {
33+ $fullname = $sysroot . readlink($fname);
34 # Check to see if certificates and/or CRLs present.
35- my ($cert, $crl) = check_file($fname);
36+ my ($cert, $crl) = check_file($fullname);
37 if(!$cert && !$crl) {
38 print STDERR "WARNING: $fname does not contain a certificate or CRL: skipping\n";
39 next;
40 }
41- link_hash_cert($fname) if($cert);
42- link_hash_cert_old($fname) if($cert);
43- link_hash_crl($fname) if($crl);
44- link_hash_crl_old($fname) if($crl);
45+ link_hash_cert($fname, $fullname) if($cert);
46+ link_hash_cert_old($fname, $fullname) if($cert);
47+ link_hash_crl($fname, $fullname) if($crl);
48+ link_hash_crl_old($fname, $fullname) if($crl);
49 }
50 }
51
52@@ -143,9 +145,10 @@ sub check_file {
53
54 sub link_hash_cert {
55 my $fname = $_[0];
56- my $x509hash = $_[1] || '-subject_hash';
57- $fname =~ s/'/'\\''/g;
58- my ($hash, $fprint) = `"$openssl" x509 $x509hash -fingerprint -noout -in "$fname"`;
59+ my $fullname = $_[1];
60+ my $x509hash = $_[2] || '-subject_hash';
61+ $fullname =~ s/'/'\\''/g;
62+ my ($hash, $fprint) = `"$openssl" x509 $x509hash -fingerprint -noout -in "$fullname"`;
63 chomp $hash;
64 chomp $fprint;
65 $fprint =~ s/^.*=//;
66@@ -176,11 +179,11 @@ sub link_hash_cert {
67 }
68
69 sub link_hash_cert_old {
70- link_hash_cert($_[0], '-subject_hash_old');
71+ link_hash_cert($_[0], $_[1], '-subject_hash_old');
72 }
73
74 sub link_hash_crl_old {
75- link_hash_crl($_[0], '-hash_old');
76+ link_hash_crl($_[0], $_[1], '-hash_old');
77 }
78
79
80@@ -188,9 +191,10 @@ sub link_hash_crl_old {
81
82 sub link_hash_crl {
83 my $fname = $_[0];
84- my $crlhash = $_[1] || "-hash";
85- $fname =~ s/'/'\\''/g;
86- my ($hash, $fprint) = `"$openssl" crl $crlhash -fingerprint -noout -in '$fname'`;
87+ my $fullname = $_[1];
88+ my $crlhash = $_[2] || "-hash";
89+ $fullname =~ s/'/'\\''/g;
90+ my ($hash, $fprint) = `"$openssl" crl $crlhash -fingerprint -noout -in '$fullname'`;
91 chomp $hash;
92 chomp $fprint;
93 $fprint =~ s/^.*=//;
94--
951.9.1
96
diff --git a/meta-boot2qt-distro/recipes-connectivity/openssl/openssl_1.%.bbappend b/meta-boot2qt-distro/recipes-connectivity/openssl/openssl_1.%.bbappend
new file mode 100644
index 0000000..bac366d
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-connectivity/openssl/openssl_1.%.bbappend
@@ -0,0 +1,34 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31SRC_URI += "file://0001-Support-SYSROOT-in-c_rehash.patch"
32
33PACKAGECONFIG += "perl"
34
diff --git a/meta-boot2qt-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.%.bbappend b/meta-boot2qt-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.%.bbappend
new file mode 100644
index 0000000..e880897
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-connectivity/wpa-supplicant/wpa-supplicant_2.%.bbappend
@@ -0,0 +1,47 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30do_install_append () {
31 install -d ${D}${includedir}/wpa-supplicant
32
33 install -m 0644 ${S}/src/common/wpa_ctrl.c ${D}${includedir}/wpa-supplicant/
34 install -m 0644 ${S}/src/common/wpa_ctrl.h ${D}${includedir}/wpa-supplicant/
35
36 install -m 0644 ${S}/src/utils/build_config.h ${D}${includedir}/wpa-supplicant/
37 install -m 0644 ${S}/src/utils/common.h ${D}${includedir}/wpa-supplicant/
38 install -m 0644 ${S}/src/utils/includes.h ${D}${includedir}/wpa-supplicant/
39 install -m 0644 ${S}/src/utils/os.h ${D}${includedir}/wpa-supplicant/
40 install -m 0644 ${S}/src/utils/os_unix.c ${D}${includedir}/wpa-supplicant/
41 install -m 0644 ${S}/src/utils/trace.h ${D}${includedir}/wpa-supplicant/
42 install -m 0644 ${S}/src/utils/wpa_debug.h ${D}${includedir}/wpa-supplicant/
43 install -m 0644 ${S}/src/utils/wpabuf.h ${D}${includedir}/wpa-supplicant/
44}
45
46FILES_${PN}-dev += "${includedir}/wpa-supplicant/*"
47
diff --git a/meta-boot2qt-distro/recipes-core/base-files/base-files/blacklist.conf b/meta-boot2qt-distro/recipes-core/base-files/base-files/blacklist.conf
new file mode 100644
index 0000000..a8b8885
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-core/base-files/base-files/blacklist.conf
@@ -0,0 +1 @@
blacklist evbug
diff --git a/meta-boot2qt-distro/recipes-core/base-files/base-files_3.0.14.bbappend b/meta-boot2qt-distro/recipes-core/base-files/base-files_3.0.14.bbappend
new file mode 100644
index 0000000..1dc5501
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-core/base-files/base-files_3.0.14.bbappend
@@ -0,0 +1,44 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31SRC_URI += "\
32 file://blacklist.conf \
33 "
34
35do_install_append() {
36 ln -s /home/root ${D}/root
37 echo ${MACHINE_HOSTNAME} > ${D}${sysconfdir}/hostname
38
39 install -m 0755 -d ${D}${sysconfdir}/modprobe.d
40 install -m 0644 ${WORKDIR}/blacklist.conf ${D}${sysconfdir}/modprobe.d
41
42 # Add quotes around command expansion, since tty may return "not a tty"
43 sed -i 's#test `tty | cut -c1-8`#test "`tty | cut -c1-8`"#' ${D}${sysconfdir}/profile
44}
diff --git a/meta-boot2qt-distro/recipes-core/dbus/dbus/dbus-session-address b/meta-boot2qt-distro/recipes-core/dbus/dbus/dbus-session-address
new file mode 100644
index 0000000..3f85306
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-core/dbus/dbus/dbus-session-address
@@ -0,0 +1,5 @@
1#!/bin/sh
2
3if [ -e /var/run/dbus/session_bus_address ]; then
4 . /var/run/dbus/session_bus_address
5fi
diff --git a/meta-boot2qt-distro/recipes-core/dbus/dbus/dbus-session.init b/meta-boot2qt-distro/recipes-core/dbus/dbus/dbus-session.init
new file mode 100644
index 0000000..0690511
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-core/dbus/dbus/dbus-session.init
@@ -0,0 +1,112 @@
1#!/bin/sh
2### BEGIN INIT INFO
3# Provides: dbus
4# Required-Start: $remote_fs $syslog
5# Required-Stop: $remote_fs $syslog
6# Default-Start: 2 3 4 5
7# Default-Stop: 1
8# Short-Description: D-Bus session message bus
9# Description: D-Bus is a simple interprocess messaging system, used
10# for sending messages between applications.
11### END INIT INFO
12#
13# -*- coding: utf-8 -*-
14# Debian init.d script for D-BUS
15# Copyright © 2003 Colin Walters <walters@debian.org>
16
17# set -e
18
19# Source function library.
20#. /etc/init.d/functions
21
22DAEMON=@bindir@/dbus-launch
23NAME=dbus-session
24ADDRESSFILE=/var/run/dbus/session_bus_address
25UUIDDIR=/var/lib/dbus
26DESC="session message bus"
27APPCONTROLLERPATH="/tmp/b2qt/appcontroller.conf.d"
28APPCONTROLLERADDRESSFILE="session_bus_address"
29
30
31test -x $DAEMON || exit 0
32
33# Source defaults file; edit that file to configure this script.
34ENABLED=1
35PARAMS=""
36if [ -e /etc/default/dbus ]; then
37 . /etc/default/dbus
38fi
39
40if [ -e $ADDRESSFILE ]; then
41 . $ADDRESSFILE
42fi
43
44if [ ! -d $APPCONTROLLERPATH ]; then
45mkdir -p $APPCONTROLLERPATH
46fi
47
48test "$ENABLED" != "0" || exit 0
49
50start_it_up()
51{
52 echo -n "Starting $DESC: "
53 $DAEMON --auto-syntax > $ADDRESSFILE
54 ADDR=`cat $ADDRESSFILE|grep -i DBUS_SESSION_BUS_ADDRESS=`
55 echo "env=${ADDR%?}" |tr -d \' > ${APPCONTROLLERPATH}/${APPCONTROLLERADDRESSFILE}
56 echo "$NAME."
57}
58
59shut_it_down()
60{
61 echo -n "Stopping $DESC: "
62 kill $DBUS_SESSION_BUS_PID
63 echo "$NAME."
64}
65
66reload_it()
67{
68 echo -n "Reloading $DESC config: "
69 dbus-send --print-reply --session --type=method_call \
70 --dest=org.freedesktop.DBus \
71 / org.freedesktop.DBus.ReloadConfig > /dev/null
72 # hopefully this is enough time for dbus to reload it's config file.
73 echo "done."
74}
75
76status_it()
77{
78 if kill -0 $DBUS_SESSION_BUS_PID 2>/dev/null; then
79 echo "$NAME (pid $DBUS_SESSION_BUS_PID) is running..."
80 return 0
81 else
82 echo "$NAME is stopped"
83 fi
84 return 3
85}
86
87case "$1" in
88 start)
89 start_it_up
90 ;;
91 stop)
92 shut_it_down
93 ;;
94 status)
95 status_it
96 exit $?
97 ;;
98 reload|force-reload)
99 reload_it
100 ;;
101 restart)
102 shut_it_down
103 sleep 1
104 start_it_up
105 ;;
106 *)
107 echo "Usage: /etc/init.d/$NAME {start|stop|status|restart|reload|force-reload}" >&2
108 exit 1
109 ;;
110esac
111
112exit 0
diff --git a/meta-boot2qt-distro/recipes-core/dbus/dbus/dbus-session.service b/meta-boot2qt-distro/recipes-core/dbus/dbus/dbus-session.service
new file mode 100644
index 0000000..8dcf081
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-core/dbus/dbus/dbus-session.service
@@ -0,0 +1,13 @@
1[Unit]
2Description=D-BUS Session Message Bus.
3After=dbus.service
4
5[Service]
6Type=forking
7ExecStart=/usr/bin/dbus-session.init.sh start
8ExecStop=/usr/bin/dbus-session.init.sh stop
9Environment=HOME=/home/root
10
11[Install]
12WantedBy=multi-user.target
13
diff --git a/meta-boot2qt-distro/recipes-core/dbus/dbus_%.bbappend b/meta-boot2qt-distro/recipes-core/dbus/dbus_%.bbappend
new file mode 100644
index 0000000..64d750c
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-core/dbus/dbus_%.bbappend
@@ -0,0 +1,72 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30inherit systemd
31
32FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
33SRC_URI += " \
34 file://dbus-session.init \
35 file://dbus-session.service \
36 file://dbus-session-address \
37 "
38INITSCRIPT_PACKAGES = "${PN} ${PN}-session-init"
39INITSCRIPT_NAME_${PN}-session-init = "dbus-session"
40INITSCRIPT_PARAMS_${PN}-session-init = "start 20 5 3 2 . stop 10 0 1 6 ."
41
42PACKAGES =+ "${PN}-session-init"
43SYSTEMD_PACKAGES =+ "${PN}-session-init"
44
45FILES_${PN}-session-init = " \
46 ${sysconfdir}/init.d/dbus-session \
47 ${sysconfdir}/profile.d/dbus-session-address \
48 ${bindir}/dbus-session.init.sh \
49 ${systemd_unitdir}/system/dbus-session.service \
50 "
51
52do_install_append_class-target() {
53 sed 's:@bindir@:${bindir}:' < ${WORKDIR}/dbus-session.init >${WORKDIR}/dbus-session.init.sh
54
55 if ${@bb.utils.contains('DISTRO_FEATURES', 'sysvinit', 'true', 'false', d)}; then
56 install -d ${D}${sysconfdir}/init.d
57 install -m 0755 ${WORKDIR}/dbus-session.init.sh ${D}${sysconfdir}/init.d/dbus-session
58 fi
59
60 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
61 install -m 0755 -d ${D}${bindir}/
62 install -m 0755 ${WORKDIR}/dbus-session.init.sh ${D}${bindir}/
63
64 install -m 0755 -d ${D}${systemd_unitdir}/system
65 install -m 0644 ${WORKDIR}/dbus-session.service ${D}${systemd_unitdir}/system/
66 fi
67
68 install -d ${D}${sysconfdir}/profile.d
69 install -m 0755 ${WORKDIR}/dbus-session-address ${D}${sysconfdir}/profile.d/
70}
71
72SYSTEMD_SERVICE_${PN}-session-init = "dbus-session.service"
diff --git a/meta-boot2qt-distro/recipes-core/initscripts/initscripts_1.0.bbappend b/meta-boot2qt-distro/recipes-core/initscripts/initscripts_1.0.bbappend
new file mode 100644
index 0000000..e2550b1
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-core/initscripts/initscripts_1.0.bbappend
@@ -0,0 +1,32 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30do_configure_append() {
31 sed -i -e "/echo/d" ${WORKDIR}/banner.sh
32}
diff --git a/meta-boot2qt-distro/recipes-core/meta/meta-environment.bbappend b/meta-boot2qt-distro/recipes-core/meta/meta-environment.bbappend
new file mode 100644
index 0000000..65cc6b3
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-core/meta/meta-environment.bbappend
@@ -0,0 +1,35 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30inherit image-buildinfo
31
32toolchain_create_sdk_version_append () {
33 echo 'Layer Revisions:' >> $versionfile
34 echo '${@get_layer_revs(d)}' >> $versionfile
35}
diff --git a/meta-boot2qt-distro/recipes-core/packagegroups/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb b/meta-boot2qt-distro/recipes-core/packagegroups/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb
new file mode 100644
index 0000000..9f43fff
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-core/packagegroups/nativesdk-packagegroup-b2qt-embedded-toolchain-host.bb
@@ -0,0 +1,60 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "Host packages for B2Qt on embedded Linux SDK"
31PR = "r0"
32LICENSE = "The-Qt-Company-DCLA-2.1"
33
34inherit nativesdk packagegroup
35
36MACHINE_EXTRA_INSTALL_SDK_HOST ?= ""
37
38python __anonymous() {
39 overrides = d.getVar("OVERRIDES", True).split(":")
40 if "mingw32" not in overrides:
41 d.appendVar("OVERRIDES", ":linux")
42}
43
44RDEPENDS_${PN} = "\
45 nativesdk-gperf \
46 ${MACHINE_EXTRA_INSTALL_SDK_HOST} \
47 "
48
49RDEPENDS_${PN}_append_linux = "\
50 nativesdk-python3-modules \
51 nativesdk-python3-misc \
52 nativesdk-perl-modules \
53 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "nativesdk-wayland-dev", "", d)} \
54 "
55
56RDEPENDS_${PN}_append_mingw32 = "\
57 nativesdk-make \
58 nativesdk-libgcc \
59 nativesdk-libstdc++ \
60 "
diff --git a/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-base.bb b/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-base.bb
new file mode 100644
index 0000000..b6573e2
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-base.bb
@@ -0,0 +1,58 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "Packagegroup for B2Qt embedded Linux image"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32PR = "r0"
33
34inherit packagegroup
35
36MACHINE_EXTRA_INSTALL ?= ""
37
38RDEPENDS_${PN} = "\
39 kernel-modules \
40 linux-firmware \
41 ca-certificates \
42 liberation-fonts \
43 ttf-devanagari \
44 ttf-opensans \
45 ttf-dejavu-common \
46 ttf-dejavu-sans \
47 ttf-freefont-mono \
48 otf-noto \
49 dbus-session-init \
50 tzdata \
51 tzdata-americas \
52 tzdata-asia \
53 tzdata-europe \
54 connman \
55 rng-tools \
56 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "weston weston-examples", "", d)} \
57 ${MACHINE_EXTRA_INSTALL} \
58 "
diff --git a/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-gstreamer.bb b/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-gstreamer.bb
new file mode 100644
index 0000000..b1bec0e
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-gstreamer.bb
@@ -0,0 +1,48 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "Additional gstreamer packagegroup for B2Qt embedded Linux image"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32PR = "r0"
33
34inherit packagegroup
35
36MACHINE_GSTREAMER_1_0_PLUGIN ?= ""
37
38RDEPENDS_${PN} = "\
39 gstreamer1.0-meta-base \
40 gstreamer1.0-meta-video \
41 gstreamer1.0-meta-audio \
42 gstreamer1.0-plugins-base-meta \
43 gstreamer1.0-plugins-good-meta \
44 gstreamer1.0-plugins-ugly-meta \
45 gstreamer1.0-plugins-bad-meta \
46 gstreamer1.0-libav \
47 ${MACHINE_GSTREAMER_1_0_PLUGIN} \
48 "
diff --git a/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-gstreamer010.bb b/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-gstreamer010.bb
new file mode 100644
index 0000000..af291c7
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-gstreamer010.bb
@@ -0,0 +1,66 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "Additional gstreamer packagegroup for B2Qt embedded Linux image"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32PR = "r0"
33
34inherit packagegroup
35
36RDEPENDS_${PN} = "\
37 gst-meta-video \
38 gst-meta-audio \
39 gst-plugins-good \
40 gst-plugins-base-app \
41 gst-plugins-base-audiorate \
42 gst-plugins-base-videorate \
43 gst-plugins-base-encodebin \
44 gst-plugins-good-videofilter \
45 gst-plugins-good-id3demux \
46 gst-plugins-good-auparse \
47 gst-plugins-good-isomp4 \
48 gst-plugins-good-icydemux \
49 gst-plugins-good-video4linux2 \
50 gst-plugins-good-multifile \
51 gst-plugins-good-videocrop \
52 gst-plugins-good-jpeg \
53 gst-plugins-ugly-rmdemux \
54 gst-plugins-ugly-asf \
55 gst-plugins-ugly-a52dec \
56 gst-plugins-bad-mpegdemux \
57 gst-plugins-bad-faad \
58 gst-plugins-bad-camerabin2 \
59 gst-plugins-bad-jpegformat \
60 gst-plugins-ugly-mad \
61 gst-plugins-ugly-mpegaudioparse \
62 gst-plugins-ugly-mpeg2dec \
63 gst-plugins-ugly-mpegstream \
64 gst-plugins-bad-mpegvideoparse \
65 gst-ffmpeg \
66 "
diff --git a/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-tools.bb b/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-tools.bb
new file mode 100644
index 0000000..7644f6f
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-core/packagegroups/packagegroup-b2qt-embedded-tools.bb
@@ -0,0 +1,52 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "Additional tools packagegroup for B2Qt embedded Linux image"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32PR = "r0"
33
34inherit packagegroup
35
36RDEPENDS_${PN} = "\
37 alsa-utils-amixer \
38 binutils \
39 binutils-symlinks \
40 connman-client \
41 htop \
42 i2c-tools \
43 iproute2 \
44 ldd \
45 openssh-sftp-server \
46 perf \
47 procps \
48 rsync \
49 tslib-calibrate \
50 valgrind \
51 ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd-analyze", "", d)} \
52 "
diff --git a/meta-boot2qt-distro/recipes-core/systemd/systemd/usb-rndis.network b/meta-boot2qt-distro/recipes-core/systemd/systemd/usb-rndis.network
new file mode 100644
index 0000000..d529eeb
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-core/systemd/systemd/usb-rndis.network
@@ -0,0 +1,5 @@
1[Match]
2Type=gadget
3
4[Network]
5LinkLocalAddressing=yes
diff --git a/meta-boot2qt-distro/recipes-core/systemd/systemd_%.bbappend b/meta-boot2qt-distro/recipes-core/systemd/systemd_%.bbappend
new file mode 100644
index 0000000..96b8910
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-core/systemd/systemd_%.bbappend
@@ -0,0 +1,52 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31SRC_URI += " \
32 file://usb-rndis.network \
33"
34
35PACKAGECONFIG_append = " networkd"
36
37# By default sytemd uses it's build time as epoch. This causes problems when
38# using yocto cache since systemd build time might be more than day older than
39# the actual image build time. If that kind of image is booted with a device
40# that does not have backup battery for RTC, the first fsck interprets successful
41# result as failure because last mount time is in the future. This can be worked
42# around by setting TIME_EPOCH to 0, which causes fsck to detect the system time as
43# insane and ignore the mount time error.
44EXTRA_OECONF_append = " --with-time-epoch=0"
45
46do_install_append() {
47 # remove login from tty1
48 rm -f ${D}${sysconfdir}/systemd/system/getty.target.wants/getty@tty1.service
49 # set up link-local IPs for USB network interface
50 install -d ${D}${prefix}/lib/systemd/network/
51 install -m 0644 ${WORKDIR}/usb-rndis.network ${D}${prefix}/lib/systemd/network/
52}
diff --git a/meta-boot2qt-distro/recipes-devtools/binutils/binutils-cross_%.bbappend b/meta-boot2qt-distro/recipes-devtools/binutils/binutils-cross_%.bbappend
new file mode 100644
index 0000000..8a069ed
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-devtools/binutils/binutils-cross_%.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30LDGOLD_sdkmingw32 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '--enable-gold=default --enable-threads', '--enable-gold --enable-ld=default --enable-threads', d)}"
diff --git a/meta-boot2qt-distro/recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend b/meta-boot2qt-distro/recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend
new file mode 100644
index 0000000..4e55e66
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-devtools/gdb/gdb-cross-canadian_7.%.bbappend
@@ -0,0 +1,56 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend_sdkmingw32 := "${THISDIR}/${BPN}:"
31SRC_URI_append_sdkmingw32 = " file://0001-Do-not-use-win32-specific-filehandling.patch"
32
33DEPENDS_append_sdkmingw32 = " nativesdk-prebuild-python"
34RDEPENDS_${PN}_append_sdkmingw32 = " nativesdk-prebuild-python"
35EXTRA_OECONF_remove_sdkmingw32 = "--without-python --with-python=no"
36EXTRA_OECONF_append_sdkmingw32 = " --with-python=${WORKDIR}/python_win"
37CXXFLAGS_append_sdkmingw32 = " -D_hypot=hypot"
38
39do_configure_prepend_sdkmingw32() {
40cat > ${WORKDIR}/python_win << EOF
41#! /bin/sh
42case "\$2" in
43 --includes) echo "-I${STAGING_INCDIR}/${PYTHON_DIR}" ;;
44 --ldflags) echo "-Wl,-rpath-link,${STAGING_LIBDIR}/.. -lpython35" ;;
45 --exec-prefix) echo "${exec_prefix}" ;;
46 *) exit 1 ;;
47esac
48exit 0
49EOF
50 chmod +x ${WORKDIR}/python_win
51}
52
53do_install_append_sdkmingw32() {
54 ln -s ../python35.dll ${D}${bindir}/
55 ln -s ../python35.zip ${D}${bindir}/
56}
diff --git a/meta-boot2qt-distro/recipes-devtools/gdb/gdb/0001-Do-not-use-win32-specific-filehandling.patch b/meta-boot2qt-distro/recipes-devtools/gdb/gdb/0001-Do-not-use-win32-specific-filehandling.patch
new file mode 100644
index 0000000..c9a20ed
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-devtools/gdb/gdb/0001-Do-not-use-win32-specific-filehandling.patch
@@ -0,0 +1,24 @@
1From 3c928a3bf8d873f6173a076da6e4c1bc85e9a3a0 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Wed, 28 Jun 2017 20:41:49 +0300
4Subject: [PATCH] Do not use win32 specific filehandling
5
6PyFile_FromString and PyFile_AsFile are no longer available in python3
7see https://sourceware.org/bugzilla/show_bug.cgi?id=15600
8---
9 gdb/python/python.c | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/gdb/python/python.c b/gdb/python/python.c
13index 9bccaa9..1d58dff 100644
14--- a/gdb/python/python.c
15+++ b/gdb/python/python.c
16@@ -374,7 +374,7 @@ python_interactive_command (char *arg, int from_tty)
17 static void
18 python_run_simple_file (FILE *file, const char *filename)
19 {
20-#ifndef _WIN32
21+#ifdef _WIN32
22
23 PyRun_SimpleFile (file, filename);
24
diff --git a/meta-boot2qt-distro/recipes-devtools/perl/perl_5.%.bbappend b/meta-boot2qt-distro/recipes-devtools/perl/perl_5.%.bbappend
new file mode 100644
index 0000000..5f4baf7
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-devtools/perl/perl_5.%.bbappend
@@ -0,0 +1,32 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30do_install_append_class-nativesdk () {
31 sed -i -e 's|$OECORE_NATIVE_SYSROOT/|${SDKPATHNATIVE}|g' ${D}${bindir}/perl
32}
diff --git a/meta-boot2qt-distro/recipes-devtools/python/python3-native_%.bbappend b/meta-boot2qt-distro/recipes-devtools/python/python3-native_%.bbappend
new file mode 100644
index 0000000..9015f3f
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-devtools/python/python3-native_%.bbappend
@@ -0,0 +1 @@
SRC_URI_remove = "file://python-3.3-multilib.patch"
diff --git a/meta-boot2qt-distro/recipes-devtools/python/python3-virtualenv.bb b/meta-boot2qt-distro/recipes-devtools/python/python3-virtualenv.bb
new file mode 100644
index 0000000..cc091b8
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-devtools/python/python3-virtualenv.bb
@@ -0,0 +1,21 @@
1SUMMARY = "Virtual Python Environment builder"
2HOMEPAGE = "http://github.com/gitpython-developers/GitPython"
3SECTION = "devel/python"
4LICENSE = "BSD-3-Clause"
5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=51910050bd6ad04a50033f3e15d6ce43"
6
7PV="15.1.0"
8SRC_URI = "https://files.pythonhosted.org/packages/source/v/virtualenv/virtualenv-15.1.0.tar.gz"
9
10SRC_URI[md5sum] = "44e19f4134906fe2d75124427dc9b716"
11SRC_URI[sha256sum] = "02f8102c2436bb03b3ee6dede1919d1dac8a427541652e5ec95171ec8adbc93a"
12
13UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/virtualenv/"
14UPSTREAM_CHECK_REGEX = "/virtualenv/(?P<pver>(\d+[\.\-_]*)+)"
15
16S = "${WORKDIR}/virtualenv-${PV}"
17
18BBCLASSEXTEND = "native nativesdk"
19
20inherit setuptools3
21
diff --git a/meta-boot2qt-distro/recipes-devtools/python/python3_%.bbappend b/meta-boot2qt-distro/recipes-devtools/python/python3_%.bbappend
new file mode 100644
index 0000000..b3a5eb7
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-devtools/python/python3_%.bbappend
@@ -0,0 +1,11 @@
1SRC_URI_remove = "file://python-3.3-multilib.patch"
2
3# We need to install the python3 binary into the sysroot to let qtivi install that binary
4# into the correct location.
5# We can't install it directly into ${bindir} as this would be picked up by other recipes
6# and produce a lot of errors. Instead put it inside a qt5 folder where only qtivi picks it up
7# This is a workaround and needs to be replaced by a proper solution discussed here:
8# https://bugreports.qt.io/browse/AUTOSUITE-176
9sysroot_stage_all_append_class-nativesdk () {
10 sysroot_stage_dir ${D}${bindir} ${SYSROOT_DESTDIR}${bindir}/qt5
11}
diff --git a/meta-boot2qt-distro/recipes-extended/gperf/gperf_%.bbappend b/meta-boot2qt-distro/recipes-extended/gperf/gperf_%.bbappend
new file mode 100644
index 0000000..6f2651c
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-extended/gperf/gperf_%.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-boot2qt-distro/recipes-graphics/libsdl/libsdl_1.2.15.bbappend b/meta-boot2qt-distro/recipes-graphics/libsdl/libsdl_1.2.15.bbappend
new file mode 100644
index 0000000..955c797
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-graphics/libsdl/libsdl_1.2.15.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DEPENDS_remove = "virtual/libgl libglu"
diff --git a/meta-boot2qt-distro/recipes-graphics/mesa/mesa_%.bbappend b/meta-boot2qt-distro/recipes-graphics/mesa/mesa_%.bbappend
new file mode 100644
index 0000000..35f66f4
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-graphics/mesa/mesa_%.bbappend
@@ -0,0 +1,31 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30RDEPENDS_libgles2-mesa-dev += "libgles3-mesa-dev"
31PROVIDES += "virtual/libgbm"
diff --git a/meta-boot2qt-distro/recipes-kernel/linux-firmware/linux-firmware_git.bbappend b/meta-boot2qt-distro/recipes-kernel/linux-firmware/linux-firmware_git.bbappend
new file mode 100644
index 0000000..33bcc34
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-kernel/linux-firmware/linux-firmware_git.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30LICENSE_CREATE_PACKAGE = "0"
diff --git a/meta-boot2qt-distro/recipes-kernel/linux/linux-yocto/snd_intel8x0.cfg b/meta-boot2qt-distro/recipes-kernel/linux/linux-yocto/snd_intel8x0.cfg
new file mode 100644
index 0000000..6d78f08
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-kernel/linux/linux-yocto/snd_intel8x0.cfg
@@ -0,0 +1 @@
CONFIG_SND_INTEL8X0=m
diff --git a/meta-boot2qt-distro/recipes-kernel/linux/linux-yocto_4.%.bbappend b/meta-boot2qt-distro/recipes-kernel/linux/linux-yocto_4.%.bbappend
new file mode 100644
index 0000000..3687f9b
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-kernel/linux/linux-yocto_4.%.bbappend
@@ -0,0 +1,36 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31SRC_URI += "\
32 file://snd_intel8x0.cfg \
33 "
34
35KMACHINE_emulator = "qemux86"
36COMPATIBLE_MACHINE_emulator = "emulator"
diff --git a/meta-boot2qt-distro/recipes-kernel/perf/perf.bbappend b/meta-boot2qt-distro/recipes-kernel/perf/perf.bbappend
new file mode 100644
index 0000000..f8a9591
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-kernel/perf/perf.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30PACKAGECONFIG_append = " libunwind"
diff --git a/meta-boot2qt-distro/recipes-multimedia/alsa-utils/alsa-utils/0001-Increase-default-playback-volume.patch b/meta-boot2qt-distro/recipes-multimedia/alsa-utils/alsa-utils/0001-Increase-default-playback-volume.patch
new file mode 100644
index 0000000..2c0530e
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-multimedia/alsa-utils/alsa-utils/0001-Increase-default-playback-volume.patch
@@ -0,0 +1,26 @@
1From 804c0ca68e18a3e83ccbf49d0476fce3eb739477 Mon Sep 17 00:00:00 2001
2From: Kari Oikarinen <kari.oikarinen@qt.io>
3Date: Mon, 11 Dec 2017 13:55:27 +0200
4Subject: [PATCH] Increase default playback volume
5
6It is too quiet otherwise on Apalis iMX6.
7---
8 alsactl/init/default | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/alsactl/init/default b/alsactl/init/default
12index 1c84f3e..af41576 100644
13--- a/alsactl/init/default
14+++ b/alsactl/init/default
15@@ -12,7 +12,7 @@
16
17 ENV{ppercent}:="75%"
18 ENV{cpercent}:="75%"
19-ENV{pvolume}:="-20dB"
20+ENV{pvolume}:="5dB"
21 ENV{cvolume}:="12dB"
22 ENV{has_pmaster_vol}:="false"
23
24--
252.11.0
26
diff --git a/meta-boot2qt-distro/recipes-multimedia/alsa-utils/alsa-utils_%.bbappend b/meta-boot2qt-distro/recipes-multimedia/alsa-utils/alsa-utils_%.bbappend
new file mode 100644
index 0000000..ddb5c91
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-multimedia/alsa-utils/alsa-utils_%.bbappend
@@ -0,0 +1,32 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31
32SRC_URI_append_apalis-imx6 = "file://0001-Increase-default-playback-volume.patch"
diff --git a/meta-boot2qt-distro/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bbappend b/meta-boot2qt-distro/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bbappend
new file mode 100644
index 0000000..f42e121
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-multimedia/gstreamer/gst-plugins-bad_0.10.23.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30PACKAGECONFIG_append = " faad"
diff --git a/meta-boot2qt-distro/recipes-multimedia/gstreamer/gst-plugins-base/fix-gstvolume.patch b/meta-boot2qt-distro/recipes-multimedia/gstreamer/gst-plugins-base/fix-gstvolume.patch
new file mode 100644
index 0000000..d229e95
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-multimedia/gstreamer/gst-plugins-base/fix-gstvolume.patch
@@ -0,0 +1,23 @@
1diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c
2index 0f5b362..94d03a3 100644
3--- a/gst/volume/gstvolume.c
4+++ b/gst/volume/gstvolume.c
5@@ -314,10 +314,14 @@ volume_update_volume (GstVolume * self, gfloat volume,
6 self->current_mute = FALSE;
7 self->current_volume = volume;
8
9- self->current_vol_i8 = volume * VOLUME_UNITY_INT8;
10- self->current_vol_i16 = volume * VOLUME_UNITY_INT16;
11- self->current_vol_i24 = volume * VOLUME_UNITY_INT24;
12- self->current_vol_i32 = volume * VOLUME_UNITY_INT32;
13+ self->current_vol_i8 =
14+ (gint) ((gdouble) volume * (gdouble) VOLUME_UNITY_INT8);
15+ self->current_vol_i16 =
16+ (gint) ((gdouble) volume * (gdouble) VOLUME_UNITY_INT16);
17+ self->current_vol_i24 =
18+ (gint) ((gdouble) volume * (gdouble) VOLUME_UNITY_INT24);
19+ self->current_vol_i32 =
20+ (gint) ((gdouble) volume * (gdouble) VOLUME_UNITY_INT32);
21
22 passthrough = (self->current_vol_i16 == VOLUME_UNITY_INT16);
23 }
diff --git a/meta-boot2qt-distro/recipes-multimedia/gstreamer/gst-plugins-base_0.10.%.bbappend b/meta-boot2qt-distro/recipes-multimedia/gstreamer/gst-plugins-base_0.10.%.bbappend
new file mode 100644
index 0000000..646faa5
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-multimedia/gstreamer/gst-plugins-base_0.10.%.bbappend
@@ -0,0 +1,32 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31
32SRC_URI += "file://fix-gstvolume.patch"
diff --git a/meta-boot2qt-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend b/meta-boot2qt-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
new file mode 100644
index 0000000..f42e121
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_%.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30PACKAGECONFIG_append = " faad"
diff --git a/meta-boot2qt-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_%.bbappend b/meta-boot2qt-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_%.bbappend
new file mode 100644
index 0000000..e338316
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-multimedia/gstreamer/gstreamer1.0-plugins-ugly_%.bbappend
@@ -0,0 +1,31 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30PACKAGECONFIG_append = " x264"
31FILES_${PN}-x264 += "${datadir}/gstreamer-1.0/presets/*.prs"
diff --git a/meta-boot2qt-distro/recipes-networking/samba/samba_4.%.bbappend b/meta-boot2qt-distro/recipes-networking/samba/samba_4.%.bbappend
new file mode 100644
index 0000000..4a86809
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-networking/samba/samba_4.%.bbappend
@@ -0,0 +1,31 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DEPENDS += "perl"
31
diff --git a/meta-boot2qt-distro/recipes-qt/images/b2qt-automotive-qt5-image.bb b/meta-boot2qt-distro/recipes-qt/images/b2qt-automotive-qt5-image.bb
new file mode 100644
index 0000000..67819d7
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/images/b2qt-automotive-qt5-image.bb
@@ -0,0 +1,55 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "B2Qt Automotive Qt5 image"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b"
33PR = "r0"
34
35DEPLOY_CONF_TYPE = "Automotive"
36
37IMAGE_FEATURES += "\
38 package-management \
39 ssh-server-dropbear \
40 tools-debug \
41 debug-tweaks \
42 hwcodecs \
43 "
44
45inherit core-image qbsp-image
46inherit consistent_timestamps
47
48IMAGE_INSTALL += "\
49 packagegroup-b2qt-embedded-base \
50 packagegroup-b2qt-embedded-tools \
51 ${@bb.utils.contains("DISTRO_FEATURES", "gstreamer010", "packagegroup-b2qt-embedded-gstreamer010", "", d)} \
52 ${@bb.utils.contains("DISTRO_FEATURES", "gstreamer", "packagegroup-b2qt-embedded-gstreamer", "", d)} \
53 packagegroup-b2qt-qt5-modules \
54 packagegroup-b2qt-automotive-addons \
55 "
diff --git a/meta-boot2qt-distro/recipes-qt/images/b2qt-embedded-ci-image.bb b/meta-boot2qt-distro/recipes-qt/images/b2qt-embedded-ci-image.bb
new file mode 100644
index 0000000..32773e1
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/images/b2qt-embedded-ci-image.bb
@@ -0,0 +1,74 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "B2Qt on embedded Linux SDK image"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32PR = "r0"
33
34IMAGE_FEATURES += "\
35 package-management \
36 ssh-server-dropbear \
37 tools-debug \
38 debug-tweaks \
39 hwcodecs \
40 "
41
42inherit core-image
43
44IMAGE_INSTALL += "\
45 packagegroup-b2qt-embedded-base \
46 packagegroup-b2qt-embedded-tools \
47 ${@bb.utils.contains("DISTRO_FEATURES", "gstreamer010", "packagegroup-b2qt-embedded-gstreamer010", "", d)} \
48 ${@bb.utils.contains("DISTRO_FEATURES", "gstreamer", "packagegroup-b2qt-embedded-gstreamer", "", d)} \
49 packagegroup-b2qt-qt5-modules \
50 "
51
52ROOTFS_POSTINSTALL_COMMAND += "remove_qt_from_rootfs;"
53
54python remove_qt_from_rootfs() {
55 import subprocess
56
57 # remove qtbase and all dependent packages
58 image_rootfs = d.getVar('IMAGE_ROOTFS', True)
59 opkg_conf = d.getVar("IPKGCONF_TARGET", True)
60 opkg_cmd = bb.utils.which(os.getenv('PATH'), "opkg")
61 opkg_args = "--volatile-cache -f %s -o %s " % (opkg_conf, image_rootfs)
62 opkg_args += d.getVar("OPKG_ARGS", True)
63
64 cmd = "%s %s --force-remove --force-removal-of-dependent-packages remove %s" % \
65 (opkg_cmd, opkg_args, 'qtbase')
66
67 try:
68 bb.note(cmd)
69 output = subprocess.check_output(cmd.split(), stderr=subprocess.STDOUT)
70 bb.note(output)
71 except subprocess.CalledProcessError as e:
72 bb.fatal("Unable to remove packages. Command '%s' "
73 "returned %d:\n%s" % (e.cmd, e.returncode, e.output))
74}
diff --git a/meta-boot2qt-distro/recipes-qt/images/b2qt-embedded-qt5-image.bb b/meta-boot2qt-distro/recipes-qt/images/b2qt-embedded-qt5-image.bb
new file mode 100644
index 0000000..d8743a5
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/images/b2qt-embedded-qt5-image.bb
@@ -0,0 +1,55 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "B2Qt embedded Qt5 image"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b"
33PR = "r0"
34
35DEPLOY_CONF_TYPE = "Boot2Qt"
36
37IMAGE_FEATURES += "\
38 package-management \
39 ssh-server-dropbear \
40 tools-debug \
41 debug-tweaks \
42 hwcodecs \
43 "
44
45inherit core-image qbsp-image
46inherit consistent_timestamps
47
48IMAGE_INSTALL += "\
49 packagegroup-b2qt-embedded-base \
50 packagegroup-b2qt-embedded-tools \
51 ${@bb.utils.contains("DISTRO_FEATURES", "gstreamer010", "packagegroup-b2qt-embedded-gstreamer010", "", d)} \
52 ${@bb.utils.contains("DISTRO_FEATURES", "gstreamer", "packagegroup-b2qt-embedded-gstreamer", "", d)} \
53 packagegroup-b2qt-qt5-modules \
54 packagegroup-b2qt-embedded-addons \
55 "
diff --git a/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb b/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb
new file mode 100644
index 0000000..5595cc6
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-automotive-qbsp.bb
@@ -0,0 +1,49 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "Meta task for QBSP creation"
31
32LICENSE = "The-Qt-Company-DCLA-2.1"
33LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b"
34
35# get Qt version number
36require recipes-qt/qt5/qt5-git.inc
37S = "${WORKDIR}"
38
39inherit qbsp
40
41PV := "${@d.getVar('PV', True).split('+')[0]}"
42
43QBSP_NAME = "Automotive ${PV}"
44QBSP_MACHINE = "${@d.getVar('MACHINE', True).replace('-','')}"
45QBSP_INSTALLER_COMPONENT = "automotive.10.yocto.${QBSP_MACHINE}"
46QBSP_INSTALL_PATH = "/${PV}/Automotive/${MACHINE}"
47
48QBSP_SDK_TASK = "meta-toolchain-b2qt-automotive-qt5-sdk"
49QBSP_IMAGE_TASK = "b2qt-automotive-qt5-image"
diff --git a/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-embedded-qbsp.bb b/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-embedded-qbsp.bb
new file mode 100644
index 0000000..dc2873f
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/meta/meta-b2qt-embedded-qbsp.bb
@@ -0,0 +1,50 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "Meta task for QBSP creation"
31
32LICENSE = "The-Qt-Company-DCLA-2.1"
33LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b"
34
35# get Qt version number
36require recipes-qt/qt5/qt5-git.inc
37S = "${WORKDIR}"
38
39inherit qbsp
40
41PV := "${@d.getVar('PV', True).split('+')[0]}"
42
43VERSION_SHORT = "${@d.getVar('PV', True).replace('.','')}"
44QBSP_NAME = "Boot2Qt ${PV}"
45QBSP_MACHINE = "${@d.getVar('MACHINE', True).replace('-','')}"
46QBSP_INSTALLER_COMPONENT = "qt.embedded.b2qt.${VERSION_SHORT}.yocto.${QBSP_MACHINE}"
47QBSP_INSTALL_PATH = "/${PV}/Boot2Qt/${MACHINE}"
48
49QBSP_SDK_TASK = "meta-toolchain-b2qt-embedded-qt5-sdk"
50QBSP_IMAGE_TASK = "b2qt-embedded-qt5-image"
diff --git a/meta-boot2qt-distro/recipes-qt/meta/meta-toolchain-b2qt-automotive-qt5-sdk.bb b/meta-boot2qt-distro/recipes-qt/meta/meta-toolchain-b2qt-automotive-qt5-sdk.bb
new file mode 100644
index 0000000..94bf48d
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/meta/meta-toolchain-b2qt-automotive-qt5-sdk.bb
@@ -0,0 +1,39 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "B2Qt embedded Qt5 SDK toolchain"
31
32LICENSE = "The-Qt-Company-DCLA-2.1"
33LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b"
34
35inherit populate_b2qt_qt5_sdk
36
37TOOLCHAIN_HOST_TASK += "nativesdk-packagegroup-b2qt-automotive-qt5-toolchain-host"
38TOOLCHAIN_TARGET_TASK += "packagegroup-b2qt-embedded-qt5-toolchain-target \
39 packagegroup-b2qt-automotive-qt5-toolchain-target"
diff --git a/meta-boot2qt-distro/recipes-qt/meta/meta-toolchain-b2qt-embedded-qt5-sdk.bb b/meta-boot2qt-distro/recipes-qt/meta/meta-toolchain-b2qt-embedded-qt5-sdk.bb
new file mode 100644
index 0000000..65354ad
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/meta/meta-toolchain-b2qt-embedded-qt5-sdk.bb
@@ -0,0 +1,38 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "B2Qt embedded Qt5 SDK toolchain"
31
32LICENSE = "The-Qt-Company-DCLA-2.1"
33LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b"
34
35inherit populate_b2qt_qt5_sdk
36
37TOOLCHAIN_HOST_TASK += "nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host"
38TOOLCHAIN_TARGET_TASK += "packagegroup-b2qt-embedded-qt5-toolchain-target"
diff --git a/meta-boot2qt-distro/recipes-qt/meta/meta-toolchain-b2qt-embedded-sdk.bb b/meta-boot2qt-distro/recipes-qt/meta/meta-toolchain-b2qt-embedded-sdk.bb
new file mode 100644
index 0000000..777bffe
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/meta/meta-toolchain-b2qt-embedded-sdk.bb
@@ -0,0 +1,32 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30require recipes-qt/meta/meta-toolchain-b2qt-embedded-qt5-sdk.bb
31
32SDKIMAGE_FEATURES = "dev-pkgs"
diff --git a/meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-automotive-qt5-toolchain-host.bb b/meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-automotive-qt5-toolchain-host.bb
new file mode 100644
index 0000000..7ce53c6
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-automotive-qt5-toolchain-host.bb
@@ -0,0 +1,40 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "Host packages for B2Qt automotive Qt5 SDK"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32PR = "r0"
33
34inherit nativesdk packagegroup
35
36RDEPENDS_${PN} += "\
37 nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host \
38 nativesdk-qtapplicationmanager-tools \
39 nativesdk-qtivi-tools \
40 "
diff --git a/meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb b/meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb
new file mode 100644
index 0000000..3ce2e79
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/packagegroups/nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host.bb
@@ -0,0 +1,56 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "Host packages for B2Qt embedded Qt5 SDK"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32PR = "r0"
33
34inherit nativesdk packagegroup
35
36python __anonymous() {
37 overrides = d.getVar("OVERRIDES", True).split(":")
38 if "mingw32" not in overrides:
39 d.appendVar("OVERRIDES", ":linux")
40}
41
42RDEPENDS_${PN} += "\
43 nativesdk-packagegroup-b2qt-embedded-toolchain-host \
44 nativesdk-qttools-tools \
45 nativesdk-qtbase-tools \
46 nativesdk-qtbase-tools-dev \
47 nativesdk-qtbase-tools-staticdev \
48 nativesdk-qtdeclarative-tools \
49 nativesdk-qtdeclarative-staticdev \
50 nativesdk-qt3d-tools \
51 nativesdk-qtscxml-tools \
52 "
53
54RDEPENDS_${PN}_append_linux = "\
55 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'nativesdk-qtwayland-tools', '', d)} \
56 "
diff --git a/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-automotive-addons.bb b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-automotive-addons.bb
new file mode 100644
index 0000000..bb2e4de
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-automotive-addons.bb
@@ -0,0 +1,47 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "Automotive specific Qt packages"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32
33inherit packagegroup
34
35PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
36
37RDEPENDS_${PN} += " \
38 b2qt-appcontroller \
39 qtivi \
40 neptune-ui \
41 neptune-ui-apps \
42 ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebbrowser', '', d)} \
43 gammaray \
44 qmllive-target \
45 multiscreen-demo \
46 qdbd \
47 "
diff --git a/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-automotive-qt5-toolchain-target.bb b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-automotive-qt5-toolchain-target.bb
new file mode 100644
index 0000000..6ae1ef4
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-automotive-qt5-toolchain-target.bb
@@ -0,0 +1,43 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "Target packages for B2Qt Automotive Qt5 SDK"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32PR = "r0"
33
34inherit packagegroup
35
36PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
37
38RDEPENDS_${PN} += " \
39 qtivi-dev \
40 libarchive-dev \
41 qtapplicationmanager-dev \
42 qtapplicationmanager-staticdev \
43 "
diff --git a/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-addons.bb b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-addons.bb
new file mode 100644
index 0000000..1fdbcf3
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-addons.bb
@@ -0,0 +1,43 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "Device Creation specific Qt packages"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32
33inherit packagegroup
34
35PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
36
37RDEPENDS_${PN} += " \
38 b2qt-appcontroller \
39 b2qt-launcher \
40 b2qt-demos \
41 ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "democompositor", "", d)} \
42 qdbd \
43 "
diff --git a/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb
new file mode 100644
index 0000000..2af00da
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb
@@ -0,0 +1,77 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "Target packages for B2Qt embedded Qt5 SDK"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32PR = "r0"
33
34inherit packagegroup
35
36PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
37
38MACHINE_EXTRA_INSTALL_SDK ?= ""
39
40RDEPENDS_${PN} += " \
41 ${MACHINE_EXTRA_INSTALL_SDK} \
42 packagegroup-core-standalone-sdk-target \
43 \
44 qt3d-dev \
45 qtbase-dev \
46 qtbase-staticdev \
47 qtbase-doc \
48 qtcanvas3d-dev \
49 qtcharts-dev \
50 qtconnectivity-dev \
51 qtdatavis3d-dev \
52 qtdeclarative-dev \
53 qtdeclarative-staticdev \
54 qtdeviceutilities-dev \
55 qtgraphicaleffects-dev \
56 qtimageformats-dev \
57 qtlocation-dev \
58 qtmultimedia-dev \
59 qtnetworkauth-dev \
60 qtotaupdate-dev \
61 qtquickcontrols-dev \
62 qtquickcontrols2-dev \
63 qtremoteobjects-dev \
64 qtscxml-dev \
65 qtsensors-dev \
66 qtserialbus-dev \
67 qtserialport-dev \
68 qtsvg-dev \
69 qttools-dev \
70 qttools-staticdev \
71 qtvirtualkeyboard-dev \
72 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland-dev', '', d)} \
73 ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine-dev qtwebview-dev', '', d)} \
74 qtwebsockets-dev \
75 qtwebchannel-dev \
76 qtxmlpatterns-dev \
77 "
diff --git a/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb
new file mode 100644
index 0000000..a79d596
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb
@@ -0,0 +1,79 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30DESCRIPTION = "Qt5 modules"
31LICENSE = "The-Qt-Company-DCLA-2.1"
32
33inherit packagegroup
34
35PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1"
36
37RDEPENDS_${PN} += " \
38 qt3d \
39 qtbase \
40 qtcanvas3d \
41 qtcharts \
42 qtconnectivity \
43 qtdatavis3d \
44 qtdeclarative \
45 qtdeclarative-tools \
46 qtdeviceutilities \
47 qtgraphicaleffects \
48 qtimageformats \
49 qtlocation \
50 qtmultimedia \
51 qtnetworkauth \
52 qtotaupdate \
53 qtquickcontrols \
54 qtquickcontrols2 \
55 qtremoteobjects \
56 qtscxml \
57 qtsensors \
58 qtserialbus \
59 qtserialport \
60 qtsvg \
61 qttools \
62 qttranslations-qt \
63 qttranslations-qtbase \
64 qttranslations-qtdeclarative \
65 qttranslations-qtconnectivity \
66 qttranslations-qtlocation \
67 qttranslations-qtmultimedia \
68 qttranslations-qtquickcontrols \
69 qttranslations-qtserialport \
70 qttranslations-qtwebsockets \
71 qttranslations-qtxmlpatterns \
72 ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland', '', d)} \
73 ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebengine qttranslations-qtwebengine qtwebview', '', d)} \
74 qtwebsockets \
75 qtwebchannel \
76 qtwebglplugin \
77 qtxmlpatterns \
78 qtvirtualkeyboard \
79 "
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/nativesdk-qtbase_git.bbappend b/meta-boot2qt-distro/recipes-qt/qt5/nativesdk-qtbase_git.bbappend
new file mode 100644
index 0000000..2ae2206
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/nativesdk-qtbase_git.bbappend
@@ -0,0 +1,44 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${THISDIR}/qtbase:"
31
32SRC_URI += "\
33 file://0001-Add-win32-g-oe-mkspec-that-uses-the-OE_-environment.patch \
34 "
35
36PACKAGECONFIG += "openssl"
37PACKAGECONFIG_remove_mingw32 += "openssl"
38
39PACKAGECONFIG[openssl] = "-openssl,-no-openssl,openssl,libssl"
40
41fakeroot do_generate_qt_environment_file_mingw32() {
42}
43
44SRC_URI_append_mingw32 = "file://0001-disable-qt_random_cpu.patch"
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase-native_git.bbappend b/meta-boot2qt-distro/recipes-qt/qt5/qtbase-native_git.bbappend
new file mode 100644
index 0000000..821c6d3
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase-native_git.bbappend
@@ -0,0 +1,34 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${THISDIR}/qtbase:"
31
32SRC_URI += "\
33 file://0001-Add-win32-g-oe-mkspec-that-uses-the-OE_-environment.patch \
34 "
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/0001-Add-win32-g-oe-mkspec-that-uses-the-OE_-environment.patch b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/0001-Add-win32-g-oe-mkspec-that-uses-the-OE_-environment.patch
new file mode 100644
index 0000000..ac4fe40
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/0001-Add-win32-g-oe-mkspec-that-uses-the-OE_-environment.patch
@@ -0,0 +1,157 @@
1From 0386cb5f9a46e56a0a94f2a92e87ed52d41cf4ea Mon Sep 17 00:00:00 2001
2From: David Schulz <david.schulz@theqtcompany.com>
3Date: Fri, 3 Jul 2015 16:06:59 +0200
4Subject: [PATCH] Add win32-g++-oe mkspec that uses the OE_ environment.
5
6Upstream-Status: Inappropriate [embedded specific]
7 too OE specific, probably cannot be upstreamed
8
9Change-Id: Ic60b32f88ee6a792b0d8938e40e2d6cb19fb93aa
10---
11 mkspecs/win32-g++-oe/qmake.conf | 87 ++++++++++++++++++++++++++++++++++++
12 mkspecs/win32-g++-oe/qplatformdefs.h | 42 +++++++++++++++++
13 2 files changed, 129 insertions(+)
14 create mode 100644 mkspecs/win32-g++-oe/qmake.conf
15 create mode 100644 mkspecs/win32-g++-oe/qplatformdefs.h
16
17diff --git a/mkspecs/win32-g++-oe/qmake.conf b/mkspecs/win32-g++-oe/qmake.conf
18new file mode 100644
19index 0000000..76eefe5
20--- /dev/null
21+++ b/mkspecs/win32-g++-oe/qmake.conf
22@@ -0,0 +1,87 @@
23+#
24+# qmake configuration for win32-g++
25+#
26+# Written for MinGW / gcc 4.6 or higher
27+#
28+# Cross compile example for i686-w64-mingw32-g++:
29+# configure -xplatform win32-g++ -device-option CROSS_COMPILE=i686-w64-mingw32-
30+#
31+
32+load(device_config)
33+include(../common/g++-base.conf)
34+
35+MAKEFILE_GENERATOR = MINGW
36+QMAKE_PLATFORM = win32 mingw
37+CONFIG += debug_and_release debug_and_release_target precompile_header
38+DEFINES += UNICODE
39+QMAKE_COMPILER_DEFINES += __GNUC__ WIN32
40+
41+QMAKE_EXT_OBJ = .o
42+QMAKE_EXT_RES = _res.o
43+
44+QMAKE_COMPILER = $$(OE_QMAKE_COMPILER)
45+
46+QMAKE_CC = $$(OE_QMAKE_CC)
47+QMAKE_LEX = flex
48+QMAKE_LEXFLAGS =
49+QMAKE_YACC = bison -y
50+QMAKE_YACCFLAGS = -d
51+QMAKE_CFLAGS += -fno-keep-inline-dllexport $$(OE_QMAKE_CFLAGS)
52+QMAKE_CFLAGS_WARN_ON += -Wextra
53+QMAKE_CFLAGS_SSE2 += -mstackrealign
54+
55+QMAKE_CXX = $$(OE_QMAKE_CXX)
56+QMAKE_CXXFLAGS_THREAD = $$QMAKE_CFLAGS_THREAD
57+QMAKE_CXXFLAGS_RTTI_ON = -frtti
58+QMAKE_CXXFLAGS_RTTI_OFF = -fno-rtti
59+QMAKE_CXXFLAGS_EXCEPTIONS_ON = -fexceptions -mthreads
60+
61+QMAKE_INCDIR =
62+
63+QMAKE_RUN_CC = $(CC) -c $(CFLAGS) $(INCPATH) -o $obj $src
64+QMAKE_RUN_CC_IMP = $(CC) -c $(CFLAGS) $(INCPATH) -o $@ $<
65+QMAKE_RUN_CXX = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $obj $src
66+QMAKE_RUN_CXX_IMP = $(CXX) -c $(CXXFLAGS) $(INCPATH) -o $@ $<
67+
68+QMAKE_LINK = $$(OE_QMAKE_LINK)
69+QMAKE_LINK_C = $$(OE_QMAKE_LINK)
70+QMAKE_LFLAGS = $$(OE_QMAKE_LDFLAGS)
71+QMAKE_LFLAGS_EXCEPTIONS_ON = -mthreads
72+QMAKE_LFLAGS_RELEASE = -Wl,-s
73+QMAKE_LFLAGS_CONSOLE = -Wl,-subsystem,console
74+QMAKE_LFLAGS_WINDOWS = -Wl,-subsystem,windows
75+QMAKE_LFLAGS_DLL = -shared
76+QMAKE_LFLAGS_GCSECTIONS = -Wl,--gc-sections
77+QMAKE_LINK_OBJECT_MAX = 10
78+QMAKE_LINK_OBJECT_SCRIPT = object_script
79+QMAKE_PREFIX_SHLIB =
80+QMAKE_EXTENSION_SHLIB = dll
81+QMAKE_PREFIX_STATICLIB = lib
82+QMAKE_EXTENSION_STATICLIB = a
83+QMAKE_LIB_EXTENSIONS = a dll.a
84+
85+QMAKE_LIBS =
86+QMAKE_LIBS_CORE = -lole32 -luuid -lws2_32 -ladvapi32 -lshell32 -luser32 -lkernel32
87+QMAKE_LIBS_GUI = -lgdi32 -lcomdlg32 -loleaut32 -limm32 -lwinmm -lws2_32 -lole32 -luuid -luser32 -ladvapi32
88+QMAKE_LIBS_NETWORK = -lws2_32
89+QMAKE_LIBS_OPENGL = -lglu32 -lopengl32 -lgdi32 -luser32
90+QMAKE_LIBS_OPENGL_ES2 = -lgdi32 -luser32
91+QMAKE_LIBS_OPENGL_ES2_DEBUG = -lgdi32 -luser32
92+QMAKE_LIBS_COMPAT = -ladvapi32 -lshell32 -lcomdlg32 -luser32 -lgdi32 -lws2_32
93+QMAKE_LIBS_QT_ENTRY = -lmingw32 -lqtmain
94+
95+QMAKE_IDL = midl
96+QMAKE_LIB = $$(OE_QMAKE_AR) -rc
97+QMAKE_RC = $$(RC)
98+
99+QMAKE_STRIP = $$(OE_QMAKE_STRIP)
100+QMAKE_STRIPFLAGS_LIB += --strip-unneeded
101+QMAKE_OBJCOPY = $${CROSS_COMPILE}objcopy
102+QMAKE_NM = $${CROSS_COMPILE}nm -P
103+
104+isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $$(OE_QMAKE_QT_CONFIG)
105+
106+include(../common/angle.conf)
107+include(../common/gcc-base.conf)
108+
109+load(qt_config)
110diff --git a/mkspecs/win32-g++-oe/qplatformdefs.h b/mkspecs/win32-g++-oe/qplatformdefs.h
111new file mode 100644
112index 0000000..9d63527
113--- /dev/null
114+++ b/mkspecs/win32-g++-oe/qplatformdefs.h
115@@ -0,0 +1,42 @@
116+/****************************************************************************
117+**
118+** Copyright (C) 2012 Digia Plc and/or its subsidiary(-ies).
119+** Contact: http://www.qt-project.org/legal
120+**
121+** This file is part of the qmake spec of the Qt Toolkit.
122+**
123+** $QT_BEGIN_LICENSE:LGPL$
124+** Commercial License Usage
125+** Licensees holding valid commercial Qt licenses may use this file in
126+** accordance with the commercial license agreement provided with the
127+** Software or, alternatively, in accordance with the terms contained in
128+** a written agreement between you and Digia. For licensing terms and
129+** conditions see http://qt.digia.com/licensing. For further information
130+** use the contact form at http://qt.digia.com/contact-us.
131+**
132+** GNU Lesser General Public License Usage
133+** Alternatively, this file may be used under the terms of the GNU Lesser
134+** General Public License version 2.1 as published by the Free Software
135+** Foundation and appearing in the file LICENSE.LGPL included in the
136+** packaging of this file. Please review the following information to
137+** ensure the GNU Lesser General Public License version 2.1 requirements
138+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
139+**
140+** In addition, as a special exception, Digia gives you certain additional
141+** rights. These rights are described in the Digia Qt LGPL Exception
142+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
143+**
144+** GNU General Public License Usage
145+** Alternatively, this file may be used under the terms of the GNU
146+** General Public License version 3.0 as published by the Free Software
147+** Foundation and appearing in the file LICENSE.GPL included in the
148+** packaging of this file. Please review the following information to
149+** ensure the GNU General Public License version 3.0 requirements will be
150+** met: http://www.gnu.org/copyleft/gpl.html.
151+**
152+**
153+** $QT_END_LICENSE$
154+**
155+****************************************************************************/
156+
157+#include "../win32-g++/qplatformdefs.h"
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/0001-disable-qt_random_cpu.patch b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/0001-disable-qt_random_cpu.patch
new file mode 100644
index 0000000..26c7838
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/0001-disable-qt_random_cpu.patch
@@ -0,0 +1,25 @@
1From 655618933b78f53bb4338c8b7e3109da780ad3c6 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@qt.io>
3Date: Thu, 23 Nov 2017 11:28:47 +0200
4Subject: [PATCH] disable qt_random_cpu
5
6The code caused internal compiler error when compiling for mingw32
7
8Change-Id: Ieba798a9599a6d683c6630c6cd3731b2b909b628
9---
10 src/corelib/global/qrandom.cpp | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/src/corelib/global/qrandom.cpp b/src/corelib/global/qrandom.cpp
14index 6769190..c1a775a 100644
15--- a/src/corelib/global/qrandom.cpp
16+++ b/src/corelib/global/qrandom.cpp
17@@ -92,7 +92,7 @@ DECLSPEC_IMPORT BOOLEAN WINAPI SystemFunction036(PVOID RandomBuffer, ULONG Rando
18
19 QT_BEGIN_NAMESPACE
20
21-#if defined(Q_PROCESSOR_X86) && QT_COMPILER_SUPPORTS_HERE(RDRND)
22+#if 0
23 static qsizetype qt_random_cpu(void *buffer, qsizetype count) Q_DECL_NOTHROW;
24
25 # ifdef Q_PROCESSOR_X86_64
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/emulator/oe-device-extra.pri b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/emulator/oe-device-extra.pri
new file mode 100644
index 0000000..d29adb2
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/emulator/oe-device-extra.pri
@@ -0,0 +1,6 @@
1QMAKE_LIBS_EGL = -lQtGlesStreamClient
2QMAKE_LIBS_OPENGL_ES2 = -lQtGlesStreamClient
3
4QMAKE_PLATFORM += boot2qt
5QT_QPA_DEFAULT_PLATFORM = eglfs
6EGLFS_DEVICE_INTEGRATION = eglfs_emu
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/intel-corei7-64/oe-device-extra.pri b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/intel-corei7-64/oe-device-extra.pri
new file mode 100644
index 0000000..cdb6204
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/intel-corei7-64/oe-device-extra.pri
@@ -0,0 +1,10 @@
1NUC_CFLAGS = -m64
2QMAKE_LIBS_EGL += -lEGL
3QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL
4QMAKE_CFLAGS += $$NUC_CFLAGS
5QMAKE_CXXFLAGS += $$NUC_CFLAGS
6
7QMAKE_PLATFORM += boot2qt
8
9QT_QPA_DEFAULT_PLATFORM = eglfs
10EGLFS_DEVICE_INTEGRATION = eglfs_kms
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/jetson-tx1/oe-device-extra.pri b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/jetson-tx1/oe-device-extra.pri
new file mode 100644
index 0000000..d4c14ca
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/jetson-tx1/oe-device-extra.pri
@@ -0,0 +1,4 @@
1QMAKE_PLATFORM += boot2qt
2
3QT_QPA_DEFAULT_PLATFORM = eglfs
4EGLFS_DEVICE_INTEGRATION = eglfs_kms_egldevice
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/jetson-tx2/oe-device-extra.pri b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/jetson-tx2/oe-device-extra.pri
new file mode 100644
index 0000000..d4c14ca
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/jetson-tx2/oe-device-extra.pri
@@ -0,0 +1,4 @@
1QMAKE_PLATFORM += boot2qt
2
3QT_QPA_DEFAULT_PLATFORM = eglfs
4EGLFS_DEVICE_INTEGRATION = eglfs_kms_egldevice
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/mx6/oe-device-extra.pri b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/mx6/oe-device-extra.pri
new file mode 100644
index 0000000..f5445e3
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/mx6/oe-device-extra.pri
@@ -0,0 +1,10 @@
1IMX6_CFLAGS = -DLINUX=1 -DEGL_API_FB=1
2QMAKE_LIBS_EGL += -lEGL
3QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL -lGAL
4QMAKE_LIBS_OPENVG += -lOpenVG -lEGL -lGAL
5QMAKE_CFLAGS += $$IMX6_CFLAGS
6QMAKE_CXXFLAGS += $$IMX6_CFLAGS
7
8QMAKE_PLATFORM += boot2qt
9QT_QPA_DEFAULT_PLATFORM = eglfs
10EGLFS_DEVICE_INTEGRATION = eglfs_viv
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/nvidia-logan/oe-device-extra.pri b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/nvidia-logan/oe-device-extra.pri
new file mode 100644
index 0000000..6554742
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/nvidia-logan/oe-device-extra.pri
@@ -0,0 +1,11 @@
1TK1_CFLAGS = -DWIN_INTERFACE_CUSTOM
2QMAKE_LIBS_EGL += -lEGL
3QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL
4QMAKE_CFLAGS += $$TK1_CFLAGS
5QMAKE_CXXFLAGS += $$TK1_CFLAGS
6
7QMAKE_PLATFORM += boot2qt
8
9QT_QPA_DEFAULT_PLATFORM = eglfs
10EGLFS_DEVICE_INTEGRATION = eglfs_kms_egldevice
11
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/oe-device-extra.pri b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/oe-device-extra.pri
new file mode 100644
index 0000000..250c999
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/oe-device-extra.pri
@@ -0,0 +1,3 @@
1# This file contains device-specific qmake.conf settings
2QMAKE_PLATFORM += boot2qt
3QT_QPA_DEFAULT_PLATFORM = eglfs
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/rpi/oe-device-extra.pri b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/rpi/oe-device-extra.pri
new file mode 100644
index 0000000..9f64808
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/rpi/oe-device-extra.pri
@@ -0,0 +1,11 @@
1QMAKE_INCDIR_EGL = $$[QT_SYSROOT]/usr/include/interface/vcos/pthreads \
2 $$[QT_SYSROOT]/usr/include/interface/vmcs_host/linux
3QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL}
4
5QMAKE_LIBS_EGL = -lEGL -lGLESv2
6QMAKE_CFLAGS += $$RPI_CFLAGS
7QMAKE_CXXFLAGS += $$RPI_CFLAGS
8
9QMAKE_PLATFORM += boot2qt
10QT_QPA_DEFAULT_PLATFORM = eglfs
11EGLFS_DEVICE_INTEGRATION = eglfs_brcm
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/smarc-samx6i/oe-device-extra.pri b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/smarc-samx6i/oe-device-extra.pri
new file mode 100644
index 0000000..ae04468
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/smarc-samx6i/oe-device-extra.pri
@@ -0,0 +1,3 @@
1QMAKE_PLATFORM += boot2qt
2QT_QPA_DEFAULT_PLATFORM = eglfs
3EGLFS_DEVICE_INTEGRATION = eglfs_kms
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/tegra-t18x/oe-device-extra.pri b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/tegra-t18x/oe-device-extra.pri
new file mode 100644
index 0000000..4597a84
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/tegra-t18x/oe-device-extra.pri
@@ -0,0 +1,11 @@
1TEGRA_T18X_CFLAGS = -DWIN_INTERFACE_CUSTOM
2QMAKE_LIBS_EGL += -lEGL
3QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL
4QMAKE_CFLAGS += $$TEGRA_T18X_CFLAGS
5QMAKE_CXXFLAGS += $$TEGRA_T18X_CFLAGS
6
7QMAKE_PLATFORM += boot2qt
8
9QT_QPA_DEFAULT_PLATFORM = eglfs
10EGLFS_DEVICE_INTEGRATION = eglfs_kms_egldevice
11
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/ti33x/oe-device-extra.pri b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/ti33x/oe-device-extra.pri
new file mode 100644
index 0000000..0a18a5d
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/ti33x/oe-device-extra.pri
@@ -0,0 +1,6 @@
1QMAKE_LIBS_EGL = -lEGL -lIMGegl -lsrv_um
2QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 $${QMAKE_LIBS_EGL}
3QMAKE_LIBS_OPENVG = -lOpenVG $${QMAKE_LIBS_EGL}
4
5QMAKE_PLATFORM += boot2qt
6QT_QPA_DEFAULT_PLATFORM = eglfs
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend b/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend
new file mode 100644
index 0000000..e7c7adf
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase_git.bbappend
@@ -0,0 +1,64 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30PACKAGECONFIG_GL = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 eglfs', 'no-opengl', d)}"
31
32# emulator is exception due to qtglesstream
33PACKAGECONFIG_GL_emulator = "gles2 eglfs"
34
35PACKAGECONFIG += " \
36 accessibility \
37 cups \
38 fontconfig \
39 freetype \
40 gif \
41 glib \
42 ico \
43 icu \
44 libinput \
45 linuxfb \
46 sql-sqlite \
47 tslib \
48 xkbcommon-evdev \
49 "
50
51PACKAGECONFIG_remove = "tests"
52
53FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
54
55SRC_URI += " \
56 file://oe-device-extra.pri \
57 file://0001-Add-win32-g-oe-mkspec-that-uses-the-OE_-environment.patch \
58 "
59do_configure_prepend() {
60 install -m 0644 ${WORKDIR}/oe-device-extra.pri ${S}/mkspecs
61}
62
63# make other libgbm providers possible
64PACKAGECONFIG[gbm] = "-gbm,-no-gbm,virtual/libgbm"
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtdeclarative_git.bbappend b/meta-boot2qt-distro/recipes-qt/qt5/qtdeclarative_git.bbappend
new file mode 100644
index 0000000..d9144a8
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtdeclarative_git.bbappend
@@ -0,0 +1,32 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILES_${PN}-plugins_mingw32 = " \
31 ${OE_QMAKE_PATH_PLUGINS}/*/*.dll \
32"
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch b/meta-boot2qt-distro/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch
new file mode 100644
index 0000000..ad4c7b8
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtlocation/0001-location-disable-simulator-content-under-plugins.patch
@@ -0,0 +1,23 @@
1From a7af02fe34bd8e067c7654ac366e19783b89e990 Mon Sep 17 00:00:00 2001
2From: Mikko Gronoff <mikko.gronoff@qt.io>
3Date: Wed, 25 Oct 2017 13:22:16 +0300
4Subject: [PATCH] location: disable simulator content under plugins
5
6Does not build against more recent simulator
7---
8 src/plugins/position/position.pro | 2 +-
9 1 file changed, 1 insertion(+), 1 deletion(-)
10
11diff --git a/src/plugins/position/position.pro b/src/plugins/position/position.pro
12index 1687a9d..347963f 100644
13--- a/src/plugins/position/position.pro
14+++ b/src/plugins/position/position.pro
15@@ -5,7 +5,7 @@ QT_FOR_CONFIG += positioning-private
16 qtHaveModule(dbus):SUBDIRS += geoclue
17 qtConfig(gypsy):SUBDIRS += gypsy
18 qtConfig(winrt_geolocation):SUBDIRS += winrt
19-qtHaveModule(simulator):SUBDIRS += simulator
20+#qtHaveModule(simulator):SUBDIRS += simulator
21 osx|ios|tvos:SUBDIRS += corelocation
22 android:SUBDIRS += android
23 win32:qtHaveModule(serialport):SUBDIRS += serialnmea
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtlocation_git.bbappend b/meta-boot2qt-distro/recipes-qt/qt5/qtlocation_git.bbappend
new file mode 100644
index 0000000..d6ee6a1
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtlocation_git.bbappend
@@ -0,0 +1,34 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30PACKAGECONFIG += "geoservices_mapboxgl"
31
32FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
33
34SRC_URI += "file://0001-location-disable-simulator-content-under-plugins.patch"
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtmultimedia_git.bbappend b/meta-boot2qt-distro/recipes-qt/qt5/qtmultimedia_git.bbappend
new file mode 100644
index 0000000..fbae3ba
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtmultimedia_git.bbappend
@@ -0,0 +1,32 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30PACKAGECONFIG += "${@bb.utils.contains('DISTRO_FEATURES', 'alsa', 'alsa', '', d)} \
31 ${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio', '', d)} \
32 ${@bb.utils.contains('DISTRO_FEATURES', 'gstreamer010', 'gstreamer010', 'gstreamer', d)}"
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtsystems_git.bbappend b/meta-boot2qt-distro/recipes-qt/qt5/qtsystems_git.bbappend
new file mode 100644
index 0000000..e8fe1f3
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtsystems_git.bbappend
@@ -0,0 +1,31 @@
1############################################################################
2##
3## Copyright (C) 2018 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30EXTRA_QMAKEVARS_PRE_append_emulator = " CONFIG+=simulator"
31DEPENDS_append_emulator = " qtsimulator"
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtvirtualkeyboard_git.bbappend b/meta-boot2qt-distro/recipes-qt/qt5/qtvirtualkeyboard_git.bbappend
new file mode 100644
index 0000000..4f48099
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-qt/qt5/qtvirtualkeyboard_git.bbappend
@@ -0,0 +1,31 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30PACKAGECONFIG_append = " hunspell"
31RDEPENDS_${PN} += "hunspell-dicts"
diff --git a/meta-boot2qt-distro/recipes-support/rng-tools/rng-tools/rngd.service b/meta-boot2qt-distro/recipes-support/rng-tools/rng-tools/rngd.service
new file mode 100644
index 0000000..22c7361
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-support/rng-tools/rng-tools/rngd.service
@@ -0,0 +1,9 @@
1[Unit]
2Description=Hardware RNG Entropy Gatherer Daemon
3
4[Service]
5ExecStart=@SBINDIR@/rngd -f
6SuccessExitStatus=66
7
8[Install]
9WantedBy=multi-user.target
diff --git a/meta-boot2qt-distro/recipes-support/rng-tools/rng-tools_5.bbappend b/meta-boot2qt-distro/recipes-support/rng-tools/rng-tools_5.bbappend
new file mode 100644
index 0000000..dedddf0
--- /dev/null
+++ b/meta-boot2qt-distro/recipes-support/rng-tools/rng-tools_5.bbappend
@@ -0,0 +1,45 @@
1############################################################################
2##
3## Copyright (C) 2017 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_append := "${THISDIR}/${PN}:"
31SRC_URI += "\
32 file://rngd.service \
33 "
34
35inherit systemd
36
37do_install_append() {
38 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
39 install -d ${D}${systemd_unitdir}/system
40 install -m 644 ${WORKDIR}/rngd.service ${D}${systemd_unitdir}/system
41 sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_unitdir}/system/rngd.service
42 fi
43}
44
45SYSTEMD_SERVICE_${PN} = "rngd.service"