diff options
Diffstat (limited to 'meta-boot2qt-distro')
149 files changed, 5869 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 | |||
5 | QT_DIR_NAME ?= "" | ||
6 | |||
7 | # This is useful for target recipes to reference native mkspecs | ||
8 | QMAKE_MKSPEC_PATH_NATIVE = "${STAGING_LIBDIR_NATIVE}" | ||
9 | QMAKE_MKSPEC_PATH_TARGET = "${STAGING_LIBDIR}" | ||
10 | |||
11 | QMAKE_MKSPEC_PATH = "${QMAKE_MKSPEC_PATH_TARGET}" | ||
12 | QMAKE_MKSPEC_PATH_class-native = "${QMAKE_MKSPEC_PATH_NATIVE}" | ||
13 | QMAKE_MKSPEC_PATH_class-nativesdk = "${QMAKE_MKSPEC_PATH_NATIVE}" | ||
14 | |||
15 | OE_QMAKE_PATH_PREFIX = "${prefix}" | ||
16 | OE_QMAKE_PATH_HEADERS = "${includedir}/qt5" | ||
17 | OE_QMAKE_PATH_LIBS = "${libdir}" | ||
18 | OE_QMAKE_PATH_ARCHDATA = "${libdir}" | ||
19 | OE_QMAKE_PATH_DATA = "${datadir}" | ||
20 | OE_QMAKE_PATH_BINS = "${bindir}" | ||
21 | OE_QMAKE_PATH_LIBEXECS = "${libdir}/libexec" | ||
22 | OE_QMAKE_PATH_PLUGINS = "${libdir}/plugins" | ||
23 | OE_QMAKE_PATH_IMPORTS = "${libdir}/imports" | ||
24 | OE_QMAKE_PATH_QML = "${libdir}/qml" | ||
25 | OE_QMAKE_PATH_TRANSLATIONS = "${datadir}/translations" | ||
26 | OE_QMAKE_PATH_DOCS = "${docdir}" | ||
27 | OE_QMAKE_PATH_SETTINGS = "${sysconfdir}" | ||
28 | OE_QMAKE_PATH_EXAMPLES = "${datadir}/examples" | ||
29 | OE_QMAKE_PATH_TESTS = "${datadir}/tests" | ||
30 | OE_QMAKE_PATH_HOST_PREFIX = "" | ||
31 | OE_QMAKE_PATH_HOST_PREFIX_class-target = "${STAGING_DIR_NATIVE}" | ||
32 | OE_QMAKE_PATH_HOST_BINS = "${bindir}" | ||
33 | OE_QMAKE_PATH_HOST_DATA = "${QMAKE_MKSPEC_PATH_TARGET}" | ||
34 | OE_QMAKE_PATH_HOST_LIBS = "${STAGING_LIBDIR}" | ||
35 | OE_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 | ||
42 | OE_QMAKE_PATH_QT_HEADERS = "${includedir}/qt5" | ||
43 | OE_QMAKE_PATH_QT_ARCHDATA = "${libdir}" | ||
44 | OE_QMAKE_PATH_QT_DATA = "${datadir}" | ||
45 | OE_QMAKE_PATH_QT_BINS = "${bindir}" | ||
46 | OE_QMAKE_PATH_QT_TRANSLATIONS = "${datadir}/translations" | ||
47 | OE_QMAKE_PATH_QT_DOCS = "${docdir}" | ||
48 | OE_QMAKE_PATH_QT_SETTINGS = "${sysconfdir}" | ||
49 | OE_QMAKE_PATH_QT_EXAMPLES = "${datadir}/examples" | ||
50 | OE_QMAKE_PATH_QT_TESTS = "${datadir}/tests" | ||
51 | |||
52 | OE_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 | ||
32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
33 | |||
34 | BBPATH = "${TOPDIR}" | ||
35 | BBFILES ?= "" | ||
36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
37 | |||
38 | BBLAYERS ?= " \ | ||
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 | ||
32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
33 | |||
34 | BBPATH = "${TOPDIR}" | ||
35 | BBFILES ?= "" | ||
36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
37 | |||
38 | BBLAYERS ?= " \ | ||
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-imx8.sample b/meta-boot2qt-distro/conf/bblayers.conf.fsl-imx8.sample new file mode 100644 index 0000000..504577d --- /dev/null +++ b/meta-boot2qt-distro/conf/bblayers.conf.fsl-imx8.sample | |||
@@ -0,0 +1,55 @@ | |||
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 | ||
32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
33 | |||
34 | BBPATH = "${TOPDIR}" | ||
35 | BBFILES ?= "" | ||
36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
37 | |||
38 | BBLAYERS ?= " \ | ||
39 | ${BSPDIR}/sources/poky/meta \ | ||
40 | ${BSPDIR}/sources/poky/meta-poky \ | ||
41 | ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-bsp \ | ||
42 | ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-sdk \ | ||
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-mingw \ | ||
54 | ${BSPDIR}/sources/meta-qt5 \ | ||
55 | " | ||
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 | ||
32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
33 | |||
34 | BBPATH = "${TOPDIR}" | ||
35 | BBFILES ?= "" | ||
36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
37 | |||
38 | BBLAYERS ?= " \ | ||
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 | ||
32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
33 | |||
34 | BBPATH = "${TOPDIR}" | ||
35 | BBFILES ?= "" | ||
36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
37 | |||
38 | BBLAYERS ?= " \ | ||
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 | ||
32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
33 | |||
34 | BBPATH = "${TOPDIR}" | ||
35 | BBFILES ?= "" | ||
36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
37 | |||
38 | BBLAYERS ?= " \ | ||
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 | ||
32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
33 | |||
34 | BBPATH = "${TOPDIR}" | ||
35 | BBFILES ?= "" | ||
36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
37 | |||
38 | BBLAYERS ?= " \ | ||
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 | ||
32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
33 | |||
34 | BBPATH = "${TOPDIR}" | ||
35 | BBFILES ?= "" | ||
36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
37 | |||
38 | BBLAYERS ?= " \ | ||
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 | ||
32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
33 | |||
34 | BBPATH = "${TOPDIR}" | ||
35 | BBFILES ?= "" | ||
36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
37 | |||
38 | BBLAYERS ?= " \ | ||
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 | ||
32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
33 | |||
34 | BBPATH = "${TOPDIR}" | ||
35 | BBFILES ?= "" | ||
36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
37 | |||
38 | BBLAYERS ?= " \ | ||
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 | ||
32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
33 | |||
34 | BBPATH = "${TOPDIR}" | ||
35 | BBFILES ?= "" | ||
36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
37 | |||
38 | BBLAYERS ?= " \ | ||
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 | ||
32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
33 | |||
34 | BBPATH = "${TOPDIR}" | ||
35 | BBFILES ?= "" | ||
36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
37 | |||
38 | BBLAYERS ?= " \ | ||
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 | ||
32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
33 | |||
34 | BBPATH = "${TOPDIR}" | ||
35 | BBFILES ?= "" | ||
36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
37 | |||
38 | BBLAYERS ?= " \ | ||
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 | |||
30 | include conf/distro/poky.conf | ||
31 | |||
32 | DISTRO = "b2qt" | ||
33 | DISTRO_NAME = "Boot to Qt for Embedded Linux" | ||
34 | SDK_VERSION := "${DISTRO_VERSION}" | ||
35 | |||
36 | SDK_MACHINE = "${@d.getVar('SDKMACHINE', True) or '${SDK_ARCH}'}" | ||
37 | SDK_NAME = "${DISTRO}-${SDK_MACHINE}-${IMAGE_BASENAME}" | ||
38 | TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-${MACHINE}" | ||
39 | BUILDCFG_VARS += "SDKMACHINE" | ||
40 | |||
41 | MAINTAINER = "B2Qt <b2qt@qt.io>" | ||
42 | |||
43 | SANITY_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 | |||
52 | SYSVINIT_ENABLED_GETTYS = "" | ||
53 | |||
54 | DISTRO_FEATURES_DEFAULT_remove = "irda pcmcia pci 3g nfc zeroconf x11" | ||
55 | DISTRO_FEATURES_BACKFILL_CONSIDERED = "pulseaudio sysvinit" | ||
56 | |||
57 | DISTRO_FEATURES_FILTER_NATIVESDK_append = " wayland" | ||
58 | |||
59 | FONTCONFIG_CACHE_DIR = "${libdir}/fontconfig/cache" | ||
60 | |||
61 | # use GStreamer 1.0, optionally change to "gstreamer010" to use GStreamer 0.10 | ||
62 | DISTRO_FEATURES += "gstreamer webengine systemd" | ||
63 | |||
64 | VIRTUAL-RUNTIME_init_manager = "systemd" | ||
65 | VIRTUAL-RUNTIME_initscripts = "" | ||
66 | PREFERRED_PROVIDER_udev ?= "systemd" | ||
67 | PREFERRED_PROVIDER_udev-utils ?= "systemd" | ||
68 | |||
69 | PREFERRED_PROVIDER_jpeg ?= "libjpeg-turbo" | ||
70 | PREFERRED_PROVIDER_jpeg-native ?= "libjpeg-turbo-native" | ||
71 | |||
72 | # Override mkspec for mingw build | ||
73 | OE_QMAKE_PLATFORM_NATIVE_mingw32 = "win32-g++-oe" | ||
74 | OE_QMAKE_PLATFORM_mingw32 = "win32-g++-oe" | ||
75 | |||
76 | # Disable SHA validation for branch | ||
77 | QT_MODULE_BRANCH_PARAM = "nobranch=1" | ||
78 | |||
79 | IMAGE_FSTYPES = "conf" | ||
80 | IMAGE_CLASSES += "image_types_sdcard deploy-conf" | ||
81 | |||
82 | LICENSE_CREATE_PACKAGE = "1" | ||
83 | COPY_LIC_MANIFEST = "1" | ||
84 | |||
85 | include 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 | |||
30 | include conf/distro/include/ti.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "Sitara AM335x Starter Kit" | ||
33 | |||
34 | DISTRO_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 | |||
30 | include conf/distro/include/toradex.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "Toradex Apalis iMX6" | ||
33 | |||
34 | IMAGE_FSTYPES += "teziimg" | ||
35 | |||
36 | BOOT_SCRIPTS += " \ | ||
37 | u-boot-${MACHINE}.imx-spl:${MACHINEDIR}/u-boot.imx-spl \ | ||
38 | SPL-${MACHINE}-spl:${MACHINEDIR}/SPL \ | ||
39 | " | ||
40 | |||
41 | SERIAL_CONSOLES = "115200;ttymxc0 \ | ||
42 | 115200;ttymxc1" | ||
43 | |||
44 | KERNEL_MODULE_AUTOLOAD += "atmel_mxt_ts" | ||
diff --git a/meta-boot2qt-distro/conf/distro/include/apalis-imx8.conf b/meta-boot2qt-distro/conf/distro/include/apalis-imx8.conf new file mode 100644 index 0000000..d570e3a --- /dev/null +++ b/meta-boot2qt-distro/conf/distro/include/apalis-imx8.conf | |||
@@ -0,0 +1,62 @@ | |||
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 | include conf/distro/include/fsl.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "Toradex Apalis iMX8" | ||
33 | |||
34 | SERIAL_CONSOLE = "115200 ttyLP1" | ||
35 | |||
36 | FSL_EULA_FILE := "${COREBASE}/../meta-fsl-bsp-release/imx/EULA.txt" | ||
37 | |||
38 | RDEPENDS_gstreamer1.0-meta-base_remove_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-souphttpsrc" | ||
39 | RDEPENDS_gstreamer1.0-meta-base_append_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-soup" | ||
40 | |||
41 | BBMASK += "\ | ||
42 | meta-fsl-bsp-release/imx/meta-bsp/recipes-browser \ | ||
43 | meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/bluez5 \ | ||
44 | meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/nfs-utils \ | ||
45 | meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/wpa-supplicant \ | ||
46 | meta-fsl-bsp-release/imx/meta-bsp/recipes-core/systemd/systemd_%.bbappend \ | ||
47 | meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/alsa/alsa-lib_%.bbappend \ | ||
48 | meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/pulseaudio \ | ||
49 | meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/fsl-rc-local \ | ||
50 | meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images \ | ||
51 | meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/packagegroup \ | ||
52 | meta-fsl-bsp-release/imx/meta-sdk/recipes-graphics/devil \ | ||
53 | meta-fsl-bsp-release/imx/meta-sdk/recipes-qt5/qt5 \ | ||
54 | meta-boot2qt/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend \ | ||
55 | meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend \ | ||
56 | meta-freescale/recipes-graphics/wayland/weston \ | ||
57 | " | ||
58 | |||
59 | KERNEL_MODULE_PACKAGE_SUFFIX ?= "-${@d.getVar('KERNEL_VERSION', True).replace('_','-')}" | ||
60 | EXTRA_OECONF_append_pn-gstreamer1.0-plugins-base = " --disable-introspection" | ||
61 | |||
62 | MACHINE_GSTREAMER_1_0_PLUGIN += "imx-gst1.0-plugin" | ||
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 | |||
30 | include conf/distro/include/ti.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "BeagleBoard" | ||
33 | |||
34 | DISTRO_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 | |||
30 | include conf/distro/include/ti.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "BeagleBone Black" | ||
33 | |||
34 | DISTRO_FEATURES_remove = "webengine" | ||
35 | |||
36 | BOOT_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 | |||
30 | include conf/distro/include/fsl.inc | ||
31 | |||
32 | BBMASK += " \ | ||
33 | meta-boundary/recipes-browser/chromium \ | ||
34 | meta-boundary/recipes-core/init-ifupdown \ | ||
35 | meta-boundary/recipes-mozilla/firefox \ | ||
36 | " | ||
37 | |||
38 | EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-boundary" | ||
39 | |||
40 | MACHINE_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 | |||
30 | include conf/distro/include/toradex.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "Toradex Colibri iMX6" | ||
33 | |||
34 | IMAGE_FSTYPES += "teziimg" | ||
35 | |||
36 | BOOT_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 | |||
30 | include conf/distro/include/toradex.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "Toradex Colibri iMX7" | ||
33 | |||
34 | IMAGE_FSTYPES += "teziimg" | ||
35 | |||
36 | BOOT_SCRIPTS += " \ | ||
37 | u-boot-nand.imx:${MACHINEDIR}/u-boot-nand.imx \ | ||
38 | " | ||
39 | |||
40 | PREFERRED_PROVIDER_virtual/egl = "opengldummy" | ||
41 | PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" | ||
42 | |||
43 | DISTRO_FEATURES_remove = "webengine wayland" | ||
44 | |||
45 | # try to limit the maximum size of the tezi image | ||
46 | RDEPENDS_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 | |||
30 | include conf/distro/include/toradex.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "Toradex Colibri VF" | ||
33 | |||
34 | IMAGE_ROOTFS_ALIGNMENT_colibri-vf = "1024" | ||
35 | |||
36 | BOOT_SCRIPTS += " \ | ||
37 | u-boot-nand.imx:${MACHINEDIR}/u-boot-nand.imx \ | ||
38 | " | ||
39 | |||
40 | PREFERRED_PROVIDER_virtual/egl = "opengldummy" | ||
41 | PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" | ||
42 | |||
43 | DISTRO_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 | |||
30 | IMAGE_CLASSES += "image-hdd" | ||
31 | IMAGE_ROOTFS_ALIGNMENT = "1048576" | ||
32 | ROOTFS ?= "${IMGDEPLOYDIR}/${IMAGE_BASENAME}-${MACHINE}.ext3" | ||
33 | IMAGE_FSTYPES = "ext3" | ||
34 | |||
35 | QBSP_IMAGE_CONTENT = "${IMAGE_LINK_NAME}.hdd" | ||
36 | |||
37 | MACHINE_EXTRA_RRECOMMENDS += "\ | ||
38 | kernel-module-snd-intel8x0 \ | ||
39 | " | ||
40 | |||
41 | PREFERRED_PROVIDER_virtual/egl = "qtglesstream-dummy-client" | ||
42 | PREFERRED_PROVIDER_virtual/libgles2 = "qtglesstream-dummy-client" | ||
43 | |||
44 | KERNEL_MODULE_AUTOLOAD += "snd-intel8x0 vboxguest vboxsf" | ||
45 | |||
46 | DISTRO_FEATURES_remove = "webengine opengl wayland" | ||
47 | |||
48 | MACHINE_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 | |||
30 | BBMASK += "meta-freescale/dynamic-layers/qt5-layer/recipes-qt/qt5" | ||
31 | |||
32 | IMAGE_FSTYPES += "ext3 sdcard" | ||
33 | IMAGE_CLASSES += "image_types_fsl" | ||
34 | |||
35 | QBSP_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 | |||
30 | include conf/distro/include/rcar-gen3.inc | ||
31 | |||
32 | DEPLOY_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 | |||
30 | require imx6qsabresd.conf | ||
31 | |||
32 | DEPLOY_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 | |||
30 | include conf/distro/include/fsl.inc | ||
31 | include conf/distro/include/opencv.inc | ||
32 | |||
33 | DEPLOY_CONF_NAME = "Freescale SABRE SD i.MX6Quad" | ||
34 | |||
35 | KERNEL_MODULE_AUTOLOAD += "mxc_v4l2_capture" | ||
36 | |||
37 | # add support for both imx6qsabresd and imx6dlsabresd | ||
38 | KERNEL_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 | " | ||
41 | MACHINE_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 | |||
30 | include conf/distro/include/fsl.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "NXP SABRE SD i.MX7 Dual" | ||
33 | |||
34 | DISTRO_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 | |||
30 | include conf/distro/include/fsl.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "i.MX7S WaRP" | ||
33 | |||
34 | PREFERRED_PROVIDER_virtual/egl = "opengldummy" | ||
35 | PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" | ||
36 | |||
37 | DISTRO_FEATURES_remove = "webengine wayland" | ||
38 | |||
39 | KERNEL_DEVICETREE = "imx7d-warp.dtb" | ||
diff --git a/meta-boot2qt-distro/conf/distro/include/imx8qmlpddr4arm2.conf b/meta-boot2qt-distro/conf/distro/include/imx8qmlpddr4arm2.conf new file mode 100644 index 0000000..9940d75 --- /dev/null +++ b/meta-boot2qt-distro/conf/distro/include/imx8qmlpddr4arm2.conf | |||
@@ -0,0 +1,67 @@ | |||
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 | include conf/distro/include/fsl.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "NXP iMX8QM" | ||
33 | |||
34 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-imx" | ||
35 | |||
36 | FSL_EULA_FILE := "${COREBASE}/../meta-fsl-bsp-release/imx/EULA.txt" | ||
37 | |||
38 | RDEPENDS_gstreamer1.0-meta-base_remove_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-souphttpsrc" | ||
39 | RDEPENDS_gstreamer1.0-meta-base_append_pn-gstreamer1.0-meta-base = " gstreamer1.0-plugins-good-soup" | ||
40 | |||
41 | BBMASK += "\ | ||
42 | meta-fsl-bsp-release/imx/meta-bsp/recipes-browser \ | ||
43 | meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/bluez5 \ | ||
44 | meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/nfs-utils \ | ||
45 | meta-fsl-bsp-release/imx/meta-bsp/recipes-connectivity/wpa-supplicant \ | ||
46 | meta-fsl-bsp-release/imx/meta-bsp/recipes-core/systemd/systemd_%.bbappend \ | ||
47 | meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/alsa/alsa-lib_%.bbappend \ | ||
48 | meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/pulseaudio \ | ||
49 | meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/fsl-rc-local \ | ||
50 | meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/images \ | ||
51 | meta-fsl-bsp-release/imx/meta-sdk/recipes-fsl/packagegroup \ | ||
52 | meta-fsl-bsp-release/imx/meta-sdk/recipes-graphics/devil \ | ||
53 | meta-fsl-bsp-release/imx/meta-sdk/recipes-qt5/qt5 \ | ||
54 | meta-boot2qt/meta-fsl-extras/recipes/u-boot/u-boot-toradex_%.bbappend \ | ||
55 | meta-boot2qt-distro/recipes-connectivity/connman/connman_%.bbappend \ | ||
56 | meta-freescale/recipes-graphics/wayland/weston \ | ||
57 | " | ||
58 | |||
59 | SRC_URI_remove_pn-imx-boot = "\ | ||
60 | file://0001-add-board-support-for-DCD-memory-timings.patch \ | ||
61 | file://0002-add-memory-timings-for-Apalis-iMX8.patch \ | ||
62 | " | ||
63 | |||
64 | KERNEL_MODULE_PACKAGE_SUFFIX ?= "-${@d.getVar('KERNEL_VERSION', True).replace('_','-')}" | ||
65 | EXTRA_OECONF_append_pn-gstreamer1.0-plugins-base = " --disable-introspection" | ||
66 | |||
67 | MACHINE_GSTREAMER_1_0_PLUGIN += "imx-gst1.0-plugin" | ||
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 | |||
30 | DEPLOY_CONF_NAME = "Intel NUC" | ||
31 | |||
32 | DISTRO_FEATURES_remove = "usbgadget" | ||
33 | |||
34 | IMAGE_CLASSES += "image_dd_efi" | ||
35 | IMAGE_FSTYPES += "ext3 dd" | ||
36 | |||
37 | QBSP_IMAGE_CONTENT ?= "\ | ||
38 | ${IMAGE_LINK_NAME}.img \ | ||
39 | ${IMAGE_LINK_NAME}.conf \ | ||
40 | " | ||
41 | |||
42 | INITRAMFS_IMAGE = "initramfs-basic" | ||
43 | |||
44 | SYSVINIT_ENABLED_GETTYS = "1" | ||
45 | |||
46 | MACHINE_EXTRA_INSTALL += "\ | ||
47 | grub-efi-config \ | ||
48 | " | ||
49 | |||
50 | SERIAL_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 | |||
30 | DEPLOY_CONF_NAME = "NVIDIA Jetson TX1" | ||
31 | |||
32 | include 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 | |||
30 | DEPLOY_CONF_NAME = "NVIDIA Jetson TX2" | ||
31 | |||
32 | include 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..e3e0292 --- /dev/null +++ b/meta-boot2qt-distro/conf/distro/include/jetson.inc | |||
@@ -0,0 +1,50 @@ | |||
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 | PREFERRED_PROVIDER_libdrm-tegra = "libdrm-tegra" | ||
31 | |||
32 | # use mmc0 | ||
33 | ROOTFS_DEVICE = "mmcblk1p1" | ||
34 | |||
35 | INITRAMFS_MAXSIZE = "165888" | ||
36 | IMAGE_CLASSES += "image_types_tegra" | ||
37 | IMAGE_FSTYPES += "tegraflash" | ||
38 | IMAGE_ROOTFS_ALIGNMENT = "1024" | ||
39 | UBOOT_SUFFIX = "bin" | ||
40 | |||
41 | QBSP_IMAGE_CONTENT = "\ | ||
42 | ${IMAGE_LINK_NAME}.img \ | ||
43 | ${IMAGE_LINK_NAME}.conf \ | ||
44 | ${IMAGE_LINK_NAME}.flasher.tar.gz \ | ||
45 | " | ||
46 | |||
47 | BBMASK += "\ | ||
48 | meta-tegra/recipes-graphics/drm \ | ||
49 | meta-tegra/external/openembedded-layer/recipes-support/opencv \ | ||
50 | " | ||
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 | |||
30 | include conf/distro/include/rcar-gen3.inc | ||
31 | |||
32 | DEPLOY_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 | |||
30 | include conf/distro/include/boundary.inc | ||
31 | include conf/distro/include/opencv.inc | ||
32 | |||
33 | DEPLOY_CONF_NAME = "Boundary Devices i.MX6" | ||
34 | |||
35 | BOOT_SPACE = "16384" | ||
36 | BOOT_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 | |||
54 | PREFERRED_PROVIDER_virtual/bootloader = "u-boot-boundary" | ||
55 | |||
56 | UBOOT_MACHINE = "" | ||
57 | UBOOT_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 | |||
65 | UBOOT_CONFIG[nit6xlite] = "nit6xlite_config" | ||
66 | UBOOT_CONFIG[nit6xlite1g] = "nit6xlite1g_config" | ||
67 | UBOOT_CONFIG[nitrogen6dl] = "nitrogen6dl_config" | ||
68 | UBOOT_CONFIG[nitrogen6dl2g] = "nitrogen6dl2g_config" | ||
69 | UBOOT_CONFIG[nitrogen6q2g] = "nitrogen6q2g_config" | ||
70 | UBOOT_CONFIG[nitrogen6q] = "nitrogen6q_config" | ||
71 | UBOOT_CONFIG[nitrogen6q_fl] = "nitrogen6q_fl_config" | ||
72 | UBOOT_CONFIG[nitrogen6qp_max] = "nitrogen6qp_max_config" | ||
73 | UBOOT_CONFIG[nitrogen6s1g] = "nitrogen6s1g_config" | ||
74 | UBOOT_CONFIG[nitrogen6s] = "nitrogen6s_config" | ||
75 | UBOOT_CONFIG[nitrogen6sx] = "nitrogen6sx_config" | ||
76 | UBOOT_CONFIG[nitrogen6_lum_dl1] = "nitrogen6_lum_dl1_config" | ||
77 | UBOOT_CONFIG[nitrogen6_max] = "nitrogen6_max_config" | ||
78 | UBOOT_CONFIG[nitrogen6_vm1g] = "nitrogen6_vm1g_config" | ||
79 | UBOOT_CONFIG[nitrogen6_vm] = "nitrogen6_vm_config" | ||
80 | |||
81 | KERNEL_DEVICETREE += "\ | ||
82 | imx6dl-nit6xlite.dtb \ | ||
83 | " | ||
84 | |||
85 | MACHINE_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 | |||
30 | include conf/distro/include/boundary.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "Boundary Devices i.MX7" | ||
33 | |||
34 | PREFERRED_PROVIDER_virtual/egl = "opengldummy" | ||
35 | PREFERRED_PROVIDER_virtual/libgles2 = "opengldummy" | ||
36 | |||
37 | DISTRO_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 | |||
30 | MACHINE_EXTRA_INSTALL += "\ | ||
31 | libopencv-core \ | ||
32 | libopencv-imgproc \ | ||
33 | libopencv-objdetect \ | ||
34 | " | ||
35 | |||
36 | MACHINE_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 | |||
30 | include conf/distro/include/raspberrypi.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "Raspberry Pi" | ||
33 | |||
34 | DISTRO_FEATURES_remove = "webengine" | ||
35 | |||
36 | # additional memory for GPU | ||
37 | GPU_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 | |||
30 | IMAGE_FSTYPES += "ext3 rpi-sdimg" | ||
31 | |||
32 | QBSP_IMAGE_CONTENT ?= "\ | ||
33 | ${IMAGE_LINK_NAME}.img \ | ||
34 | ${IMAGE_LINK_NAME}.conf \ | ||
35 | " | ||
36 | |||
37 | MACHINE_EXTRA_INSTALL += "\ | ||
38 | omxplayer \ | ||
39 | " | ||
40 | |||
41 | KERNEL_MODULE_AUTOLOAD += "snd-bcm2835 bcm2835-v4l2" | ||
42 | KERNEL_MODULE_PROBECONF += "bcm2835-v4l2" | ||
43 | module_conf_bcm2835-v4l2 = "options bcm2835-v4l2 gst_v4l2src_is_broken=1" | ||
44 | |||
45 | # video camera support | ||
46 | VIDEO_CAMERA = "1" | ||
47 | |||
48 | MACHINE_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 | |||
30 | include conf/distro/include/raspberrypi.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "Raspberry Pi Zero" | ||
33 | |||
34 | DISTRO_FEATURES_remove = "webengine" | ||
35 | |||
36 | # additional memory for GPU | ||
37 | GPU_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 | |||
30 | include conf/distro/include/raspberrypi.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "Raspberry Pi 2" | ||
33 | |||
34 | # additional memory for GPU | ||
35 | GPU_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 | |||
30 | include conf/distro/include/raspberrypi.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "Raspberry Pi 3" | ||
33 | |||
34 | # additional memory for GPU | ||
35 | GPU_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 | |||
30 | include conf/distro/include/fsl.inc | ||
31 | |||
32 | QBSP_IMAGE_CONTENT = "\ | ||
33 | ${IMAGE_LINK_NAME}.img \ | ||
34 | ${IMAGE_LINK_NAME}.conf \ | ||
35 | " | ||
36 | |||
37 | BOOT_SPACE = "16384" | ||
38 | |||
39 | # uncomment following if using the evaluation drivers | ||
40 | #DISTRO_FEATURES_append = " use_eva_pkg" | ||
41 | |||
42 | MACHINE_FEATURES_append = " gsx multimedia" | ||
43 | |||
44 | MULTI_PROVIDER_WHITELIST += "virtual/libgl virtual/egl virtual/libgles1 virtual/libgles2 virtual/libgbm" | ||
45 | |||
46 | #DISTRO_FEATURES_append = " pam" | ||
47 | PREFERRED_PROVIDER_virtual/libgles1 = "" | ||
48 | PREFERRED_PROVIDER_virtual/libgles2 = "gles-user-module" | ||
49 | PREFERRED_PROVIDER_virtual/egl = "gles-user-module" | ||
50 | PREFERRED_PROVIDER_virtual/libgl = "" | ||
51 | PREFERRED_PROVIDER_virtual/mesa = "" | ||
52 | PREFERRED_PROVIDER_libgbm = "libgbm" | ||
53 | PREFERRED_PROVIDER_libgbm-dev = "libgbm" | ||
54 | PREFERRED_PROVIDER_virtual/libgbm = "libgbm" | ||
55 | BBMASK += "mesa-gl" | ||
56 | |||
57 | # internal copy of R-Car_Series_Evaluation_Software_Packages used for CI | ||
58 | FILESEXTRAPATHS_append = "${BSPDIR}/sources/renesas-rcar-gen3/${PN}:" | ||
59 | |||
60 | BBMASK += "\ | ||
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 | |||
30 | include conf/distro/include/rcar-gen3.inc | ||
31 | |||
32 | DEPLOY_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 | |||
30 | include conf/distro/include/fsl.inc | ||
31 | |||
32 | DEPLOY_CONF_NAME = "Kontron SMARC-sAMX6i" | ||
33 | |||
34 | KERNEL_IMAGETYPE = "uImage" | ||
35 | |||
36 | MACHINE_EXTRA_INSTALL += "\ | ||
37 | kernel-devicetree \ | ||
38 | " | ||
39 | |||
40 | KERNEL_MODULE_AUTOLOAD += "mxc_v4l2_capture" | ||
41 | |||
42 | BBMASK += "meta-smx6/recipes-qt" | ||
43 | |||
44 | # examples is added in meta-smx6 layer conf | ||
45 | PACKAGECONFIG_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 | |||
30 | IMAGE_FSTYPES += "tar.gz" | ||
31 | |||
32 | QBSP_IMAGE_CONTENT = "\ | ||
33 | ${IMAGE_LINK_NAME}.tar.gz \ | ||
34 | " | ||
35 | |||
36 | PLATFORM_TOPDIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186")}' | ||
37 | NVLAYER_DIR ?= "${TOPDIR}/../sources/nvidia-layer" | ||
38 | |||
39 | MACHINE_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 | |||
58 | PREFERRED_PROVIDER_virtual/libgles2 = "tegra-drivers" | ||
59 | PREFERRED_PROVIDER_virtual/libgles2-dev = "tegra-drivers" | ||
60 | PREFERRED_PROVIDER_virtual/libegl = "tegra-drivers" | ||
61 | PREFERRED_PROVIDER_virtual/libegl-dev = "tegra-drivers" | ||
62 | PREFERRED_PROVIDER_virtual/egl = "tegra-drivers" | ||
63 | PREFERRED_PROVIDER_virtual/libgl = "tegra-drivers" | ||
64 | PREFERRED_PROVIDER_virtual/libgles1 = "tegra-drivers" | ||
65 | PREFERRED_PROVIDER_virtual/mesa = "tegra-drivers" | ||
66 | PREFERRED_PROVIDER_drm = "libdrm-nv" | ||
67 | PREFERRED_PROVIDER_libdrm = "libdrm-nv" | ||
68 | PREFERRED_PROVIDER_virtual/kernel = "linux-nvidia" | ||
69 | PREFERRED_VERSION_linux-libc-headers = "4.4" | ||
70 | PREFERRED_VERSION_nativesdk-linux-libc-headers = "4.4" | ||
71 | |||
72 | BBMASK += "\ | ||
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 | |||
30 | include conf/distro/include/fsl.inc | ||
31 | |||
32 | UBOOT_SUFFIX = "img" | ||
33 | BOOT_SCRIPTS += "\ | ||
34 | MLO-${MACHINE}:MLO \ | ||
35 | u-boot-${MACHINE}.img:u-boot.img \ | ||
36 | " | ||
37 | |||
38 | EXTRA_IMAGEDEPENDS += "u-boot" | ||
39 | |||
40 | PREFERRED_PROVIDER_virtual/egl = "ti-sgx-ddk-um" | ||
41 | PREFERRED_PROVIDER_virtual/libgles1 = "ti-sgx-ddk-um" | ||
42 | PREFERRED_PROVIDER_virtual/libgles2 = "ti-sgx-ddk-um" | ||
43 | PREFERRED_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 | |||
30 | include conf/distro/include/fsl.inc | ||
31 | |||
32 | BBMASK += "\ | ||
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 | |||
38 | PREFERRED_PROVIDER_u-boot = "u-boot-toradex" | ||
39 | |||
40 | EXTRA_IMAGEDEPENDS += "u-boot u-boot-script-toradex" | ||
41 | |||
42 | MACHINEDIR = "${@d.getVar('MACHINE', True).replace('-','_')}" | ||
43 | BOOT_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 | ||
31 | BBPATH .= ":${LAYERDIR}" | ||
32 | |||
33 | # We have a recipes directory, add to BBFILES | ||
34 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | ||
35 | ${LAYERDIR}/recipes*/*/*.bbappend \ | ||
36 | " | ||
37 | |||
38 | BBFILE_COLLECTIONS += "b2qt-distro" | ||
39 | BBFILE_PATTERN_b2qt-distro := "^${LAYERDIR}/" | ||
40 | BBFILE_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..24c572e --- /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 | ||
50 | BB_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 | ||
56 | PARALLEL_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: | ||
83 | MACHINE ??= "qemux86" | ||
84 | MACHINE_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 | # | ||
97 | DL_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 | # | ||
113 | SSTATE_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 | # | ||
135 | DISTRO ?= "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 ipk: | ||
154 | PACKAGE_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. | ||
187 | EXTRA_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 | ||
201 | USER_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): | ||
228 | PATCHRESOLVE = "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. | ||
238 | BB_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. | ||
278 | CONF_VERSION = "1" | ||
279 | |||
280 | #INHERIT += "rm_work" | ||
281 | INHERIT += "image-buildinfo" | ||
282 | INHERIT += "internal-build" | ||
283 | |||
284 | ACCEPT_FSL_EULA = "1" | ||
285 | LICENSE_FLAGS_WHITELIST = "commercial" | ||
286 | |||
287 | QT_SDK_PATH = "" | ||
288 | |||
289 | include 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 | |||
34 | PREFERRED_PROVIDER_virtual/libgl ?= "mesa" | ||
35 | PREFERRED_PROVIDER_virtual/libgles1 ?= "mesa" | ||
36 | PREFERRED_PROVIDER_virtual/libgles2 ?= "mesa" | ||
37 | |||
38 | PREFERRED_PROVIDER_virtual/kernel ?= "linux-yocto" | ||
39 | |||
40 | require conf/machine/include/tune-i586.inc | ||
41 | |||
42 | KERNEL_IMAGETYPE = "bzImage" | ||
43 | |||
44 | SERIAL_CONSOLE = "115200 ttyS0" | ||
45 | |||
46 | MACHINE_FEATURES += "x86" | ||
47 | |||
48 | MACHINE_ESSENTIAL_EXTRA_RDEPENDS += "v86d virtualbox-guest-additions" | ||
49 | |||
50 | MACHINE_FEATURES += "apm alsa pcmcia bluetooth irda usbgadget screen" | ||
51 | |||
52 | SYSTEMD_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 | |||
5 | DEFAULTTUNE = "armv7athf-neon" | ||
6 | |||
7 | require conf/machine/include/qemu.inc | ||
8 | require 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 | |||
30 | FILESEXTRAPATHS_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 @@ | |||
1 | pcm.!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 @@ | |||
1 | pcm.!default { | ||
2 | type hw | ||
3 | card 0 | ||
4 | } | ||
5 | |||
6 | ctl.!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 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | |||
32 | SRC_URI += "file://uvesafb.options.conf" | ||
33 | |||
34 | do_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 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | |||
32 | CONNMAN_SETTINGS_DIR := "${localstatedir}/lib/connman" | ||
33 | |||
34 | FILES_${PN} += "${CONNMAN_SETTINGS_DIR}/settings" | ||
35 | |||
36 | SRC_URI += "file://settings \ | ||
37 | " | ||
38 | |||
39 | do_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] | ||
2 | OfflineMode=false | ||
3 | |||
4 | [Gadget] | ||
5 | Enable=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 | |||
22 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
23 | |||
24 | SRC_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 @@ | |||
1 | From df70770f33280a915abb413678088a078d82341a Mon Sep 17 00:00:00 2001 | ||
2 | From: Mikko Gronoff <mikko.gronoff@qt.io> | ||
3 | Date: Tue, 20 Sep 2016 11:02:50 +0300 | ||
4 | Subject: [PATCH] Disable connman when booting over NFS | ||
5 | |||
6 | --- | ||
7 | src/connman.service.in | 1 + | ||
8 | 1 file changed, 1 insertion(+) | ||
9 | |||
10 | diff --git a/src/connman.service.in b/src/connman.service.in | ||
11 | index 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 @@ | |||
1 | From 9cf8fa1c4dae07a6aff194a3632bc499a813d3f8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> | ||
3 | Date: Wed, 9 Sep 2015 13:37:28 +0300 | ||
4 | Subject: [PATCH] Support SYSROOT in c_rehash | ||
5 | |||
6 | update-ca-certificates is ran during image creation, which in turn runs | ||
7 | c_rehash. Since the symlinks in /etc/ssl/certs/ are pointing to absolute | ||
8 | location, c_rehash does not find the actual files. Add support for SYSROOT | ||
9 | environment variable and use it to locate the actual files during image | ||
10 | creation. | ||
11 | |||
12 | Upstream-status: Pending | ||
13 | --- | ||
14 | tools/c_rehash.in | 30 +++++++++++++++++------------- | ||
15 | 1 file changed, 17 insertions(+), 13 deletions(-) | ||
16 | |||
17 | diff --git a/tools/c_rehash.in b/tools/c_rehash.in | ||
18 | index 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 | -- | ||
95 | 1.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 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | SRC_URI += "file://0001-Support-SYSROOT-in-c_rehash.patch" | ||
32 | |||
33 | PACKAGECONFIG += "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 | |||
30 | do_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 | |||
46 | FILES_${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 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | SRC_URI += "\ | ||
32 | file://blacklist.conf \ | ||
33 | " | ||
34 | |||
35 | do_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 | |||
3 | if [ -e /var/run/dbus/session_bus_address ]; then | ||
4 | . /var/run/dbus/session_bus_address | ||
5 | fi | ||
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 | |||
22 | DAEMON=@bindir@/dbus-launch | ||
23 | NAME=dbus-session | ||
24 | ADDRESSFILE=/var/run/dbus/session_bus_address | ||
25 | UUIDDIR=/var/lib/dbus | ||
26 | DESC="session message bus" | ||
27 | APPCONTROLLERPATH="/tmp/b2qt/appcontroller.conf.d" | ||
28 | APPCONTROLLERADDRESSFILE="session_bus_address" | ||
29 | |||
30 | |||
31 | test -x $DAEMON || exit 0 | ||
32 | |||
33 | # Source defaults file; edit that file to configure this script. | ||
34 | ENABLED=1 | ||
35 | PARAMS="" | ||
36 | if [ -e /etc/default/dbus ]; then | ||
37 | . /etc/default/dbus | ||
38 | fi | ||
39 | |||
40 | if [ -e $ADDRESSFILE ]; then | ||
41 | . $ADDRESSFILE | ||
42 | fi | ||
43 | |||
44 | if [ ! -d $APPCONTROLLERPATH ]; then | ||
45 | mkdir -p $APPCONTROLLERPATH | ||
46 | fi | ||
47 | |||
48 | test "$ENABLED" != "0" || exit 0 | ||
49 | |||
50 | start_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 | |||
59 | shut_it_down() | ||
60 | { | ||
61 | echo -n "Stopping $DESC: " | ||
62 | kill $DBUS_SESSION_BUS_PID | ||
63 | echo "$NAME." | ||
64 | } | ||
65 | |||
66 | reload_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 | |||
76 | status_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 | |||
87 | case "$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 | ;; | ||
110 | esac | ||
111 | |||
112 | exit 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] | ||
2 | Description=D-BUS Session Message Bus. | ||
3 | After=dbus.service | ||
4 | |||
5 | [Service] | ||
6 | Type=forking | ||
7 | ExecStart=/usr/bin/dbus-session.init.sh start | ||
8 | ExecStop=/usr/bin/dbus-session.init.sh stop | ||
9 | Environment=HOME=/home/root | ||
10 | |||
11 | [Install] | ||
12 | WantedBy=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 | |||
30 | inherit systemd | ||
31 | |||
32 | FILESEXTRAPATHS_append := ":${THISDIR}/${PN}" | ||
33 | SRC_URI += " \ | ||
34 | file://dbus-session.init \ | ||
35 | file://dbus-session.service \ | ||
36 | file://dbus-session-address \ | ||
37 | " | ||
38 | INITSCRIPT_PACKAGES = "${PN} ${PN}-session-init" | ||
39 | INITSCRIPT_NAME_${PN}-session-init = "dbus-session" | ||
40 | INITSCRIPT_PARAMS_${PN}-session-init = "start 20 5 3 2 . stop 10 0 1 6 ." | ||
41 | |||
42 | PACKAGES =+ "${PN}-session-init" | ||
43 | SYSTEMD_PACKAGES =+ "${PN}-session-init" | ||
44 | |||
45 | FILES_${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 | |||
52 | do_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 | |||
72 | SYSTEMD_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 | |||
30 | do_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 | |||
30 | inherit image-buildinfo | ||
31 | |||
32 | toolchain_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 | |||
30 | DESCRIPTION = "Host packages for B2Qt on embedded Linux SDK" | ||
31 | PR = "r0" | ||
32 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
33 | |||
34 | inherit nativesdk packagegroup | ||
35 | |||
36 | MACHINE_EXTRA_INSTALL_SDK_HOST ?= "" | ||
37 | |||
38 | python __anonymous() { | ||
39 | overrides = d.getVar("OVERRIDES", True).split(":") | ||
40 | if "mingw32" not in overrides: | ||
41 | d.appendVar("OVERRIDES", ":linux") | ||
42 | } | ||
43 | |||
44 | RDEPENDS_${PN} = "\ | ||
45 | nativesdk-gperf \ | ||
46 | ${MACHINE_EXTRA_INSTALL_SDK_HOST} \ | ||
47 | " | ||
48 | |||
49 | RDEPENDS_${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 | |||
56 | RDEPENDS_${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 | |||
30 | DESCRIPTION = "Packagegroup for B2Qt embedded Linux image" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | PR = "r0" | ||
33 | |||
34 | inherit packagegroup | ||
35 | |||
36 | MACHINE_EXTRA_INSTALL ?= "" | ||
37 | |||
38 | RDEPENDS_${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 | |||
30 | DESCRIPTION = "Additional gstreamer packagegroup for B2Qt embedded Linux image" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | PR = "r0" | ||
33 | |||
34 | inherit packagegroup | ||
35 | |||
36 | MACHINE_GSTREAMER_1_0_PLUGIN ?= "" | ||
37 | |||
38 | RDEPENDS_${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 | |||
30 | DESCRIPTION = "Additional gstreamer packagegroup for B2Qt embedded Linux image" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | PR = "r0" | ||
33 | |||
34 | inherit packagegroup | ||
35 | |||
36 | RDEPENDS_${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 | |||
30 | DESCRIPTION = "Additional tools packagegroup for B2Qt embedded Linux image" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | PR = "r0" | ||
33 | |||
34 | inherit packagegroup | ||
35 | |||
36 | RDEPENDS_${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] | ||
2 | Type=gadget | ||
3 | |||
4 | [Network] | ||
5 | LinkLocalAddressing=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 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | SRC_URI += " \ | ||
32 | file://usb-rndis.network \ | ||
33 | " | ||
34 | |||
35 | PACKAGECONFIG_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. | ||
44 | EXTRA_OECONF_append = " --with-time-epoch=0" | ||
45 | |||
46 | do_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 | |||
30 | LDGOLD_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 | |||
30 | FILESEXTRAPATHS_prepend_sdkmingw32 := "${THISDIR}/${BPN}:" | ||
31 | SRC_URI_append_sdkmingw32 = " file://0001-Do-not-use-win32-specific-filehandling.patch" | ||
32 | |||
33 | DEPENDS_append_sdkmingw32 = " nativesdk-prebuild-python" | ||
34 | RDEPENDS_${PN}_append_sdkmingw32 = " nativesdk-prebuild-python" | ||
35 | EXTRA_OECONF_remove_sdkmingw32 = "--without-python --with-python=no" | ||
36 | EXTRA_OECONF_append_sdkmingw32 = " --with-python=${WORKDIR}/python_win" | ||
37 | CXXFLAGS_append_sdkmingw32 = " -D_hypot=hypot" | ||
38 | |||
39 | do_configure_prepend_sdkmingw32() { | ||
40 | cat > ${WORKDIR}/python_win << EOF | ||
41 | #! /bin/sh | ||
42 | case "\$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 ;; | ||
47 | esac | ||
48 | exit 0 | ||
49 | EOF | ||
50 | chmod +x ${WORKDIR}/python_win | ||
51 | } | ||
52 | |||
53 | do_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 @@ | |||
1 | From 3c928a3bf8d873f6173a076da6e4c1bc85e9a3a0 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Wed, 28 Jun 2017 20:41:49 +0300 | ||
4 | Subject: [PATCH] Do not use win32 specific filehandling | ||
5 | |||
6 | PyFile_FromString and PyFile_AsFile are no longer available in python3 | ||
7 | see 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 | |||
12 | diff --git a/gdb/python/python.c b/gdb/python/python.c | ||
13 | index 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 | |||
30 | do_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 @@ | |||
1 | SUMMARY = "Virtual Python Environment builder" | ||
2 | HOMEPAGE = "http://github.com/gitpython-developers/GitPython" | ||
3 | SECTION = "devel/python" | ||
4 | LICENSE = "BSD-3-Clause" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=51910050bd6ad04a50033f3e15d6ce43" | ||
6 | |||
7 | PV="15.1.0" | ||
8 | SRC_URI = "https://files.pythonhosted.org/packages/source/v/virtualenv/virtualenv-15.1.0.tar.gz" | ||
9 | |||
10 | SRC_URI[md5sum] = "44e19f4134906fe2d75124427dc9b716" | ||
11 | SRC_URI[sha256sum] = "02f8102c2436bb03b3ee6dede1919d1dac8a427541652e5ec95171ec8adbc93a" | ||
12 | |||
13 | UPSTREAM_CHECK_URI = "https://pypi.python.org/pypi/virtualenv/" | ||
14 | UPSTREAM_CHECK_REGEX = "/virtualenv/(?P<pver>(\d+[\.\-_]*)+)" | ||
15 | |||
16 | S = "${WORKDIR}/virtualenv-${PV}" | ||
17 | |||
18 | BBCLASSEXTEND = "native nativesdk" | ||
19 | |||
20 | inherit 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 @@ | |||
1 | SRC_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 | ||
9 | sysroot_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 | |||
30 | BBCLASSEXTEND = "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 | |||
30 | DEPENDS_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 | |||
30 | RDEPENDS_libgles2-mesa-dev += "libgles3-mesa-dev" | ||
31 | PROVIDES += "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 | |||
30 | LICENSE_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 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | SRC_URI += "\ | ||
32 | file://snd_intel8x0.cfg \ | ||
33 | " | ||
34 | |||
35 | KMACHINE_emulator = "qemux86" | ||
36 | COMPATIBLE_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 | |||
30 | PACKAGECONFIG_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 @@ | |||
1 | From 804c0ca68e18a3e83ccbf49d0476fce3eb739477 Mon Sep 17 00:00:00 2001 | ||
2 | From: Kari Oikarinen <kari.oikarinen@qt.io> | ||
3 | Date: Mon, 11 Dec 2017 13:55:27 +0200 | ||
4 | Subject: [PATCH] Increase default playback volume | ||
5 | |||
6 | It is too quiet otherwise on Apalis iMX6. | ||
7 | --- | ||
8 | alsactl/init/default | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/alsactl/init/default b/alsactl/init/default | ||
12 | index 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 | -- | ||
25 | 2.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 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | |||
32 | SRC_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 | |||
30 | PACKAGECONFIG_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 @@ | |||
1 | diff --git a/gst/volume/gstvolume.c b/gst/volume/gstvolume.c | ||
2 | index 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 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
31 | |||
32 | SRC_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 | |||
30 | PACKAGECONFIG_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 | |||
30 | PACKAGECONFIG_append = " x264" | ||
31 | FILES_${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 | |||
30 | DEPENDS += "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 | |||
30 | DESCRIPTION = "B2Qt Automotive Qt5 image" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b" | ||
33 | PR = "r0" | ||
34 | |||
35 | DEPLOY_CONF_TYPE = "Automotive" | ||
36 | |||
37 | IMAGE_FEATURES += "\ | ||
38 | package-management \ | ||
39 | ssh-server-dropbear \ | ||
40 | tools-debug \ | ||
41 | debug-tweaks \ | ||
42 | hwcodecs \ | ||
43 | " | ||
44 | |||
45 | inherit core-image qbsp-image | ||
46 | inherit consistent_timestamps | ||
47 | |||
48 | IMAGE_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 | |||
30 | DESCRIPTION = "B2Qt on embedded Linux SDK image" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | PR = "r0" | ||
33 | |||
34 | IMAGE_FEATURES += "\ | ||
35 | package-management \ | ||
36 | ssh-server-dropbear \ | ||
37 | tools-debug \ | ||
38 | debug-tweaks \ | ||
39 | hwcodecs \ | ||
40 | " | ||
41 | |||
42 | inherit core-image | ||
43 | |||
44 | IMAGE_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 | |||
52 | ROOTFS_POSTINSTALL_COMMAND += "remove_qt_from_rootfs;" | ||
53 | |||
54 | python 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 | |||
30 | DESCRIPTION = "B2Qt embedded Qt5 image" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b" | ||
33 | PR = "r0" | ||
34 | |||
35 | DEPLOY_CONF_TYPE = "Boot2Qt" | ||
36 | |||
37 | IMAGE_FEATURES += "\ | ||
38 | package-management \ | ||
39 | ssh-server-dropbear \ | ||
40 | tools-debug \ | ||
41 | debug-tweaks \ | ||
42 | hwcodecs \ | ||
43 | " | ||
44 | |||
45 | inherit core-image qbsp-image | ||
46 | inherit consistent_timestamps | ||
47 | |||
48 | IMAGE_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 | |||
30 | DESCRIPTION = "Meta task for QBSP creation" | ||
31 | |||
32 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
33 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b" | ||
34 | |||
35 | # get Qt version number | ||
36 | require recipes-qt/qt5/qt5-git.inc | ||
37 | S = "${WORKDIR}" | ||
38 | |||
39 | inherit qbsp | ||
40 | |||
41 | PV := "${@d.getVar('PV', True).split('+')[0]}" | ||
42 | |||
43 | QBSP_NAME = "Automotive ${PV}" | ||
44 | QBSP_MACHINE = "${@d.getVar('MACHINE', True).replace('-','')}" | ||
45 | QBSP_INSTALLER_COMPONENT = "automotive.10.yocto.${QBSP_MACHINE}" | ||
46 | QBSP_INSTALL_PATH = "/${PV}/Automotive/${MACHINE}" | ||
47 | |||
48 | QBSP_SDK_TASK = "meta-toolchain-b2qt-automotive-qt5-sdk" | ||
49 | QBSP_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 | |||
30 | DESCRIPTION = "Meta task for QBSP creation" | ||
31 | |||
32 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
33 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b" | ||
34 | |||
35 | # get Qt version number | ||
36 | require recipes-qt/qt5/qt5-git.inc | ||
37 | S = "${WORKDIR}" | ||
38 | |||
39 | inherit qbsp | ||
40 | |||
41 | PV := "${@d.getVar('PV', True).split('+')[0]}" | ||
42 | |||
43 | VERSION_SHORT = "${@d.getVar('PV', True).replace('.','')}" | ||
44 | QBSP_NAME = "Boot2Qt ${PV}" | ||
45 | QBSP_MACHINE = "${@d.getVar('MACHINE', True).replace('-','')}" | ||
46 | QBSP_INSTALLER_COMPONENT = "qt.embedded.b2qt.${VERSION_SHORT}.yocto.${QBSP_MACHINE}" | ||
47 | QBSP_INSTALL_PATH = "/${PV}/Boot2Qt/${MACHINE}" | ||
48 | |||
49 | QBSP_SDK_TASK = "meta-toolchain-b2qt-embedded-qt5-sdk" | ||
50 | QBSP_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 | |||
30 | DESCRIPTION = "B2Qt embedded Qt5 SDK toolchain" | ||
31 | |||
32 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
33 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b" | ||
34 | |||
35 | inherit populate_b2qt_qt5_sdk | ||
36 | |||
37 | TOOLCHAIN_HOST_TASK += "nativesdk-packagegroup-b2qt-automotive-qt5-toolchain-host" | ||
38 | TOOLCHAIN_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 | |||
30 | DESCRIPTION = "B2Qt embedded Qt5 SDK toolchain" | ||
31 | |||
32 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
33 | LIC_FILES_CHKSUM = "file://${QT_LICENSE};md5=80e06902b5f0e94ad0a78ee4f7fcb74b" | ||
34 | |||
35 | inherit populate_b2qt_qt5_sdk | ||
36 | |||
37 | TOOLCHAIN_HOST_TASK += "nativesdk-packagegroup-b2qt-embedded-qt5-toolchain-host" | ||
38 | TOOLCHAIN_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 | |||
30 | require recipes-qt/meta/meta-toolchain-b2qt-embedded-qt5-sdk.bb | ||
31 | |||
32 | SDKIMAGE_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 | |||
30 | DESCRIPTION = "Host packages for B2Qt automotive Qt5 SDK" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | PR = "r0" | ||
33 | |||
34 | inherit nativesdk packagegroup | ||
35 | |||
36 | RDEPENDS_${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 | |||
30 | DESCRIPTION = "Host packages for B2Qt embedded Qt5 SDK" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | PR = "r0" | ||
33 | |||
34 | inherit nativesdk packagegroup | ||
35 | |||
36 | python __anonymous() { | ||
37 | overrides = d.getVar("OVERRIDES", True).split(":") | ||
38 | if "mingw32" not in overrides: | ||
39 | d.appendVar("OVERRIDES", ":linux") | ||
40 | } | ||
41 | |||
42 | RDEPENDS_${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 | |||
54 | RDEPENDS_${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..9fe3827 --- /dev/null +++ b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-automotive-addons.bb | |||
@@ -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 | |||
30 | DESCRIPTION = "Automotive specific Qt packages" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | |||
33 | inherit packagegroup | ||
34 | |||
35 | PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" | ||
36 | |||
37 | RDEPENDS_${PN} += " \ | ||
38 | boot2qt-appcontroller \ | ||
39 | qtivi \ | ||
40 | neptune3-ui \ | ||
41 | neptune3-ui-apps \ | ||
42 | ${@bb.utils.contains('DISTRO_FEATURES', 'webengine', 'qtwebbrowser', '', d)} \ | ||
43 | gammaray \ | ||
44 | qmllive \ | ||
45 | qdb \ | ||
46 | " | ||
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 | |||
30 | DESCRIPTION = "Target packages for B2Qt Automotive Qt5 SDK" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | PR = "r0" | ||
33 | |||
34 | inherit packagegroup | ||
35 | |||
36 | PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" | ||
37 | |||
38 | RDEPENDS_${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..345fbaa --- /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 | |||
30 | DESCRIPTION = "Device Creation specific Qt packages" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | |||
33 | inherit packagegroup | ||
34 | |||
35 | PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" | ||
36 | |||
37 | RDEPENDS_${PN} += " \ | ||
38 | boot2qt-appcontroller \ | ||
39 | boot2qt-launcher \ | ||
40 | boot2qt-demos \ | ||
41 | ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "democompositor", "", d)} \ | ||
42 | qdb \ | ||
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..83b075b --- /dev/null +++ b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-embedded-qt5-toolchain-target.bb | |||
@@ -0,0 +1,81 @@ | |||
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 | DESCRIPTION = "Target packages for B2Qt embedded Qt5 SDK" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | PR = "r0" | ||
33 | |||
34 | inherit packagegroup | ||
35 | |||
36 | PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" | ||
37 | |||
38 | MACHINE_EXTRA_INSTALL_SDK ?= "" | ||
39 | |||
40 | RDEPENDS_${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 | " | ||
78 | |||
79 | RDEPENDS_${PN} += "\ | ||
80 | ${@ "qtquicktimeline-dev" if (d.getVar("QT_INTERNAL_BUILD")) else "" } \ | ||
81 | " | ||
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..1cdf831 --- /dev/null +++ b/meta-boot2qt-distro/recipes-qt/packagegroups/packagegroup-b2qt-qt5-modules.bb | |||
@@ -0,0 +1,83 @@ | |||
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 | DESCRIPTION = "Qt5 modules" | ||
31 | LICENSE = "The-Qt-Company-DCLA-2.1" | ||
32 | |||
33 | inherit packagegroup | ||
34 | |||
35 | PACKAGEGROUP_DISABLE_COMPLEMENTARY = "1" | ||
36 | |||
37 | RDEPENDS_${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 | " | ||
80 | |||
81 | RDEPENDS_${PN} += "\ | ||
82 | ${@ "qtquicktimeline qmlpreview" if (d.getVar("QT_INTERNAL_BUILD")) else "" } \ | ||
83 | " | ||
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 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/qtbase:" | ||
31 | |||
32 | SRC_URI += "\ | ||
33 | file://0001-Add-win32-g-oe-mkspec-that-uses-the-OE_-environment.patch \ | ||
34 | " | ||
35 | |||
36 | PACKAGECONFIG += "openssl" | ||
37 | PACKAGECONFIG_remove_mingw32 += "openssl" | ||
38 | |||
39 | PACKAGECONFIG[openssl] = "-openssl,-no-openssl,openssl,libssl" | ||
40 | |||
41 | fakeroot do_generate_qt_environment_file_mingw32() { | ||
42 | } | ||
43 | |||
44 | SRC_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 | |||
30 | FILESEXTRAPATHS_prepend := "${THISDIR}/qtbase:" | ||
31 | |||
32 | SRC_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 @@ | |||
1 | From 0386cb5f9a46e56a0a94f2a92e87ed52d41cf4ea Mon Sep 17 00:00:00 2001 | ||
2 | From: David Schulz <david.schulz@theqtcompany.com> | ||
3 | Date: Fri, 3 Jul 2015 16:06:59 +0200 | ||
4 | Subject: [PATCH] Add win32-g++-oe mkspec that uses the OE_ environment. | ||
5 | |||
6 | Upstream-Status: Inappropriate [embedded specific] | ||
7 | too OE specific, probably cannot be upstreamed | ||
8 | |||
9 | Change-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 | |||
17 | diff --git a/mkspecs/win32-g++-oe/qmake.conf b/mkspecs/win32-g++-oe/qmake.conf | ||
18 | new file mode 100644 | ||
19 | index 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) | ||
110 | diff --git a/mkspecs/win32-g++-oe/qplatformdefs.h b/mkspecs/win32-g++-oe/qplatformdefs.h | ||
111 | new file mode 100644 | ||
112 | index 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 @@ | |||
1 | From 655618933b78f53bb4338c8b7e3109da780ad3c6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@qt.io> | ||
3 | Date: Thu, 23 Nov 2017 11:28:47 +0200 | ||
4 | Subject: [PATCH] disable qt_random_cpu | ||
5 | |||
6 | The code caused internal compiler error when compiling for mingw32 | ||
7 | |||
8 | Change-Id: Ieba798a9599a6d683c6630c6cd3731b2b909b628 | ||
9 | --- | ||
10 | src/corelib/global/qrandom.cpp | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/src/corelib/global/qrandom.cpp b/src/corelib/global/qrandom.cpp | ||
14 | index 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 @@ | |||
1 | QMAKE_LIBS_EGL = -lQtGlesStreamClient | ||
2 | QMAKE_LIBS_OPENGL_ES2 = -lQtGlesStreamClient | ||
3 | |||
4 | QMAKE_PLATFORM += boot2qt | ||
5 | QT_QPA_DEFAULT_PLATFORM = eglfs | ||
6 | EGLFS_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 @@ | |||
1 | NUC_CFLAGS = -m64 | ||
2 | QMAKE_LIBS_EGL += -lEGL | ||
3 | QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL | ||
4 | QMAKE_CFLAGS += $$NUC_CFLAGS | ||
5 | QMAKE_CXXFLAGS += $$NUC_CFLAGS | ||
6 | |||
7 | QMAKE_PLATFORM += boot2qt | ||
8 | |||
9 | QT_QPA_DEFAULT_PLATFORM = eglfs | ||
10 | EGLFS_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 @@ | |||
1 | QMAKE_PLATFORM += boot2qt | ||
2 | |||
3 | QT_QPA_DEFAULT_PLATFORM = eglfs | ||
4 | EGLFS_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 @@ | |||
1 | QMAKE_PLATFORM += boot2qt | ||
2 | |||
3 | QT_QPA_DEFAULT_PLATFORM = eglfs | ||
4 | EGLFS_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 @@ | |||
1 | IMX6_CFLAGS = -DLINUX=1 -DEGL_API_FB=1 | ||
2 | QMAKE_LIBS_EGL += -lEGL | ||
3 | QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL -lGAL | ||
4 | QMAKE_LIBS_OPENVG += -lOpenVG -lEGL -lGAL | ||
5 | QMAKE_CFLAGS += $$IMX6_CFLAGS | ||
6 | QMAKE_CXXFLAGS += $$IMX6_CFLAGS | ||
7 | |||
8 | QMAKE_PLATFORM += boot2qt | ||
9 | QT_QPA_DEFAULT_PLATFORM = eglfs | ||
10 | EGLFS_DEVICE_INTEGRATION = eglfs_viv | ||
diff --git a/meta-boot2qt-distro/recipes-qt/qt5/qtbase/mx8/oe-device-extra.pri b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/mx8/oe-device-extra.pri new file mode 100644 index 0000000..7e7cae3 --- /dev/null +++ b/meta-boot2qt-distro/recipes-qt/qt5/qtbase/mx8/oe-device-extra.pri | |||
@@ -0,0 +1,5 @@ | |||
1 | QMAKE_CFLAGS_EGL += -DLINUX -DEGL_API_FB | ||
2 | |||
3 | QMAKE_PLATFORM += boot2qt | ||
4 | QT_QPA_DEFAULT_PLATFORM = eglfs | ||
5 | EGLFS_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 @@ | |||
1 | TK1_CFLAGS = -DWIN_INTERFACE_CUSTOM | ||
2 | QMAKE_LIBS_EGL += -lEGL | ||
3 | QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL | ||
4 | QMAKE_CFLAGS += $$TK1_CFLAGS | ||
5 | QMAKE_CXXFLAGS += $$TK1_CFLAGS | ||
6 | |||
7 | QMAKE_PLATFORM += boot2qt | ||
8 | |||
9 | QT_QPA_DEFAULT_PLATFORM = eglfs | ||
10 | EGLFS_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 | ||
2 | QMAKE_PLATFORM += boot2qt | ||
3 | QT_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 @@ | |||
1 | QMAKE_INCDIR_EGL = $$[QT_SYSROOT]/usr/include/interface/vcos/pthreads \ | ||
2 | $$[QT_SYSROOT]/usr/include/interface/vmcs_host/linux | ||
3 | QMAKE_INCDIR_OPENGL_ES2 = $${QMAKE_INCDIR_EGL} | ||
4 | |||
5 | QMAKE_LIBS_EGL = -lEGL -lGLESv2 | ||
6 | QMAKE_CFLAGS += $$RPI_CFLAGS | ||
7 | QMAKE_CXXFLAGS += $$RPI_CFLAGS | ||
8 | |||
9 | QMAKE_PLATFORM += boot2qt | ||
10 | QT_QPA_DEFAULT_PLATFORM = eglfs | ||
11 | EGLFS_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 @@ | |||
1 | QMAKE_PLATFORM += boot2qt | ||
2 | QT_QPA_DEFAULT_PLATFORM = eglfs | ||
3 | EGLFS_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 @@ | |||
1 | TEGRA_T18X_CFLAGS = -DWIN_INTERFACE_CUSTOM | ||
2 | QMAKE_LIBS_EGL += -lEGL | ||
3 | QMAKE_LIBS_OPENGL_ES2 += -lGLESv2 -lEGL | ||
4 | QMAKE_CFLAGS += $$TEGRA_T18X_CFLAGS | ||
5 | QMAKE_CXXFLAGS += $$TEGRA_T18X_CFLAGS | ||
6 | |||
7 | QMAKE_PLATFORM += boot2qt | ||
8 | |||
9 | QT_QPA_DEFAULT_PLATFORM = eglfs | ||
10 | EGLFS_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 @@ | |||
1 | QMAKE_LIBS_EGL = -lEGL -lIMGegl -lsrv_um | ||
2 | QMAKE_LIBS_OPENGL_ES2 = -lGLESv2 $${QMAKE_LIBS_EGL} | ||
3 | QMAKE_LIBS_OPENVG = -lOpenVG $${QMAKE_LIBS_EGL} | ||
4 | |||
5 | QMAKE_PLATFORM += boot2qt | ||
6 | QT_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 | |||
30 | PACKAGECONFIG_GL = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2 eglfs', 'no-opengl', d)}" | ||
31 | |||
32 | # emulator is exception due to qtglesstream | ||
33 | PACKAGECONFIG_GL_emulator = "gles2 eglfs" | ||
34 | |||
35 | PACKAGECONFIG += " \ | ||
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 | |||
51 | PACKAGECONFIG_remove = "tests" | ||
52 | |||
53 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
54 | |||
55 | SRC_URI += " \ | ||
56 | file://oe-device-extra.pri \ | ||
57 | file://0001-Add-win32-g-oe-mkspec-that-uses-the-OE_-environment.patch \ | ||
58 | " | ||
59 | do_configure_prepend() { | ||
60 | install -m 0644 ${WORKDIR}/oe-device-extra.pri ${S}/mkspecs | ||
61 | } | ||
62 | |||
63 | # make other libgbm providers possible | ||
64 | PACKAGECONFIG[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 | |||
30 | FILES_${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 @@ | |||
1 | From a7af02fe34bd8e067c7654ac366e19783b89e990 Mon Sep 17 00:00:00 2001 | ||
2 | From: Mikko Gronoff <mikko.gronoff@qt.io> | ||
3 | Date: Wed, 25 Oct 2017 13:22:16 +0300 | ||
4 | Subject: [PATCH] location: disable simulator content under plugins | ||
5 | |||
6 | Does not build against more recent simulator | ||
7 | --- | ||
8 | src/plugins/position/position.pro | 2 +- | ||
9 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
10 | |||
11 | diff --git a/src/plugins/position/position.pro b/src/plugins/position/position.pro | ||
12 | index 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 | |||
30 | PACKAGECONFIG += "geoservices_mapboxgl" | ||
31 | |||
32 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
33 | |||
34 | SRC_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 | |||
30 | PACKAGECONFIG += "${@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 | |||
30 | EXTRA_QMAKEVARS_PRE_append_emulator = " CONFIG+=simulator" | ||
31 | DEPENDS_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 | |||
30 | PACKAGECONFIG_append = " hunspell" | ||
31 | RDEPENDS_${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] | ||
2 | Description=Hardware RNG Entropy Gatherer Daemon | ||
3 | |||
4 | [Service] | ||
5 | ExecStart=@SBINDIR@/rngd -f | ||
6 | SuccessExitStatus=66 | ||
7 | |||
8 | [Install] | ||
9 | WantedBy=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 | |||
30 | FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" | ||
31 | SRC_URI += "\ | ||
32 | file://rngd.service \ | ||
33 | " | ||
34 | |||
35 | inherit systemd | ||
36 | |||
37 | do_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 | |||
45 | SYSTEMD_SERVICE_${PN} = "rngd.service" | ||