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