diff options
| author | Samuli Piippo <samuli.piippo@qt.io> | 2016-11-10 16:59:30 +0200 |
|---|---|---|
| committer | Samuli Piippo <samuli.piippo@qt.io> | 2016-11-14 13:59:15 +0000 |
| commit | 1f764ffe81de51f9c8ee1cbac33abfb2fb3bc722 (patch) | |
| tree | 26e4988667b948aac99c87c6f34d4c3a4ded4617 /conf | |
| parent | 802deb0631710a0f16965a0dce2b87a7478d598e (diff) | |
| download | meta-boot2qt-1f764ffe81de51f9c8ee1cbac33abfb2fb3bc722.tar.gz | |
tegra: update to latest vibrante pdk
[RC 2.5] 25.11.01 Vibrante 4.0 Linux Drive CX2 - PDK
Drop support for nvidia-logan
Change-Id: I9b2c55f213ff3eb01969a49ad64e596692fcee31
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Reviewed-by: Teemu Holappa <teemu.holappa@qt.io>
Diffstat (limited to 'conf')
| -rw-r--r-- | conf/bblayers.conf.nvidia-logan.sample | 53 | ||||
| -rw-r--r-- | conf/distro/include/nvidia-logan.conf | 51 | ||||
| -rw-r--r-- | conf/distro/include/tegra-t18x.conf | 19 | ||||
| -rw-r--r-- | conf/distro/include/tegra.inc | 17 |
4 files changed, 7 insertions, 133 deletions
diff --git a/conf/bblayers.conf.nvidia-logan.sample b/conf/bblayers.conf.nvidia-logan.sample deleted file mode 100644 index 9a7272c..0000000 --- a/conf/bblayers.conf.nvidia-logan.sample +++ /dev/null | |||
| @@ -1,53 +0,0 @@ | |||
| 1 | ############################################################################ | ||
| 2 | ## | ||
| 3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
| 4 | ## Contact: https://www.qt.io/licensing/ | ||
| 5 | ## | ||
| 6 | ## This file is part of the Boot to Qt meta layer. | ||
| 7 | ## | ||
| 8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
| 9 | ## Commercial License Usage | ||
| 10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
| 11 | ## accordance with the commercial license agreement provided with the | ||
| 12 | ## Software or, alternatively, in accordance with the terms contained in | ||
| 13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
| 14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
| 15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
| 16 | ## | ||
| 17 | ## GNU General Public License Usage | ||
| 18 | ## Alternatively, this file may be used under the terms of the GNU | ||
| 19 | ## General Public License version 3 or (at your option) any later version | ||
| 20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
| 21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
| 22 | ## included in the packaging of this file. Please review the following | ||
| 23 | ## information to ensure the GNU General Public License requirements will | ||
| 24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
| 25 | ## | ||
| 26 | ## $QT_END_LICENSE$ | ||
| 27 | ## | ||
| 28 | ############################################################################ | ||
| 29 | |||
| 30 | # POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf | ||
| 31 | # changes incompatibly | ||
| 32 | POKY_BBLAYERS_CONF_VERSION = "2" | ||
| 33 | |||
| 34 | BBPATH = "${TOPDIR}" | ||
| 35 | BBFILES ?= "" | ||
| 36 | BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}" | ||
| 37 | |||
| 38 | BBLAYERS ?= " \ | ||
| 39 | ${BSPDIR}/sources/poky/meta \ | ||
| 40 | ${BSPDIR}/sources/poky/meta-poky \ | ||
| 41 | ${BSPDIR}/sources/nvidia-layer/meta-tegra \ | ||
| 42 | ${BSPDIR}/sources/nvidia-layer/meta-vib3 \ | ||
| 43 | ${BSPDIR}/sources/meta-openembedded/meta-oe \ | ||
| 44 | ${BSPDIR}/sources/meta-openembedded/meta-python \ | ||
| 45 | ${BSPDIR}/sources/meta-openembedded/meta-networking \ | ||
| 46 | ${BSPDIR}/sources/meta-openembedded/meta-initramfs \ | ||
| 47 | ${BSPDIR}/sources/meta-openembedded/meta-multimedia \ | ||
| 48 | ${BSPDIR}/sources/meta-boot2qt \ | ||
| 49 | ${BSPDIR}/sources/meta-boot2qt/meta-vib3-extras \ | ||
| 50 | ${BSPDIR}/sources/meta-boot2qt/meta-tegra-extras \ | ||
| 51 | ${BSPDIR}/sources/meta-mingw \ | ||
| 52 | ${BSPDIR}/sources/meta-qt5 \ | ||
| 53 | " | ||
diff --git a/conf/distro/include/nvidia-logan.conf b/conf/distro/include/nvidia-logan.conf deleted file mode 100644 index f8ec689..0000000 --- a/conf/distro/include/nvidia-logan.conf +++ /dev/null | |||
| @@ -1,51 +0,0 @@ | |||
| 1 | ############################################################################ | ||
| 2 | ## | ||
| 3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
| 4 | ## Contact: https://www.qt.io/licensing/ | ||
| 5 | ## | ||
| 6 | ## This file is part of the Boot to Qt meta layer. | ||
| 7 | ## | ||
| 8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
| 9 | ## Commercial License Usage | ||
| 10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
| 11 | ## accordance with the commercial license agreement provided with the | ||
| 12 | ## Software or, alternatively, in accordance with the terms contained in | ||
| 13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
| 14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
| 15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
| 16 | ## | ||
| 17 | ## GNU General Public License Usage | ||
| 18 | ## Alternatively, this file may be used under the terms of the GNU | ||
| 19 | ## General Public License version 3 or (at your option) any later version | ||
| 20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
| 21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
| 22 | ## included in the packaging of this file. Please review the following | ||
| 23 | ## information to ensure the GNU General Public License requirements will | ||
| 24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
| 25 | ## | ||
| 26 | ## $QT_END_LICENSE$ | ||
| 27 | ## | ||
| 28 | ############################################################################ | ||
| 29 | |||
| 30 | TARGET_CFLAGS += " -DWIN_INTERFACE_CUSTOM" | ||
| 31 | |||
| 32 | DEFAULTTUNE = "cortexa15hf-neon" | ||
| 33 | |||
| 34 | KERN_DIR ?= '${@os.path.normpath("${TOPDIR}/../sources/jetson-tk1-pro/vibrante-vcm30t124-linux")}' | ||
| 35 | PLATFORM_TOPDIR ?= '${@os.path.normpath("${TOPDIR}/../sources/jetson-tk1-pro/vibrante-vcm30t124-linux")}' | ||
| 36 | NVLAYER_DIR ?= "${TOPDIR}/../sources/nvidia-layer" | ||
| 37 | |||
| 38 | PREFERRED_PROVIDER_libdrm ?= "libdrm-nv" | ||
| 39 | PREFERRED_PROVIDER_drm ?= "libdrm-nv" | ||
| 40 | |||
| 41 | BBMASK += "\ | ||
| 42 | meta-vib3/recipes-kernel/linux-libc-headers \ | ||
| 43 | meta-vib3/recipes-devtools/binutils \ | ||
| 44 | meta-vib3/recipes-core/eglibc \ | ||
| 45 | meta-vib3/recipes-core/systemd \ | ||
| 46 | meta-vib3/recipes-connectivity \ | ||
| 47 | meta-vib3/recipes-multimedia/pulseaudio \ | ||
| 48 | meta-vib3/recipes-core/meta \ | ||
| 49 | meta-vib3/recipes-core/packagegroups \ | ||
| 50 | meta-vib3/recipes-devtools/gcc \ | ||
| 51 | " | ||
diff --git a/conf/distro/include/tegra-t18x.conf b/conf/distro/include/tegra-t18x.conf index a1fad00..349488b 100644 --- a/conf/distro/include/tegra-t18x.conf +++ b/conf/distro/include/tegra-t18x.conf | |||
| @@ -20,15 +20,14 @@ | |||
| 20 | ## | 20 | ## |
| 21 | ############################################################################# | 21 | ############################################################################# |
| 22 | 22 | ||
| 23 | include conf/distro/include/tegra.inc | ||
| 24 | |||
| 25 | OLDEST_KERNEL_aarch64 = "3.18" | 23 | OLDEST_KERNEL_aarch64 = "3.18" |
| 26 | 24 | ||
| 27 | TARGET_CFLAGS += " -DWIN_INTERFACE_CUSTOM" | 25 | TARGET_CFLAGS += " -DWIN_INTERFACE_CUSTOM" |
| 28 | DISTRO_FEATURES_DEFAULT += "wayland" | 26 | DISTRO_FEATURES_DEFAULT += "wayland" |
| 27 | IMAGE_FSTYPES += "tar.gz" | ||
| 29 | 28 | ||
| 30 | KERN_DIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186/kernel")}' | 29 | KERN_DIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186/kernel")}' |
| 31 | PLATFORM_TOPDIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186/vibrante-t186ref-linux")}' | 30 | PLATFORM_TOPDIR ?= '${@os.path.normpath("${TOPDIR}/../sources/vibrante-t186")}' |
| 32 | NVLAYER_DIR ?= "${TOPDIR}/../sources/nvidia-layer" | 31 | NVLAYER_DIR ?= "${TOPDIR}/../sources/nvidia-layer" |
| 33 | 32 | ||
| 34 | MACHINE_EXTRA_INSTALL += "\ | 33 | MACHINE_EXTRA_INSTALL += "\ |
| @@ -48,7 +47,6 @@ MACHINE_EXTRA_INSTALL += "\ | |||
| 48 | virtual/libegl \ | 47 | virtual/libegl \ |
| 49 | virtual/libgles2 \ | 48 | virtual/libgles2 \ |
| 50 | libdrm-nv \ | 49 | libdrm-nv \ |
| 51 | asound-conf \ | ||
| 52 | " | 50 | " |
| 53 | 51 | ||
| 54 | PREFERRED_PROVIDER_virtual/libgles2 ?= "tegra-drivers" | 52 | PREFERRED_PROVIDER_virtual/libgles2 ?= "tegra-drivers" |
| @@ -60,21 +58,18 @@ PREFERRED_PROVIDER_virtual/libgl ?= "tegra-drivers" | |||
| 60 | PREFERRED_PROVIDER_virtual/libgles1 ?= "tegra-drivers" | 58 | PREFERRED_PROVIDER_virtual/libgles1 ?= "tegra-drivers" |
| 61 | PREFERRED_PROVIDER_virtual/mesa ?= "tegra-drivers" | 59 | PREFERRED_PROVIDER_virtual/mesa ?= "tegra-drivers" |
| 62 | 60 | ||
| 63 | PREFERRED_PROVIDER_wayland ?= "wayland-nv" | ||
| 64 | PREFERRED_PROVIDER_wayland-native ?= "wayland-nv" | ||
| 65 | PREFERRED_PROVIDER_nativesdk-wayland ?= "wayland-nv" | ||
| 66 | |||
| 67 | BBMASK += "\ | 61 | BBMASK += "\ |
| 68 | meta-vib4/recipes-connectivity/connman \ | 62 | meta-vib4/recipes-connectivity/connman \ |
| 69 | meta-vib4/recipes-core/busybox \ | 63 | meta-vib4/recipes-core/toybox \ |
| 70 | meta-vib4/recipes-core/images \ | 64 | meta-vib4/recipes-core/images \ |
| 71 | meta-vib4/recipes-core/meta \ | ||
| 72 | meta-vib4/recipes-core/packagegroups \ | 65 | meta-vib4/recipes-core/packagegroups \ |
| 73 | meta-vib4/recipes-core/systemd/systemd \ | ||
| 74 | meta-vib4/recipes-devtools \ | ||
| 75 | meta-vib4/recipes-extended \ | 66 | meta-vib4/recipes-extended \ |
| 76 | meta-vib4/recipes-multimedia/audiomanager \ | 67 | meta-vib4/recipes-multimedia/audiomanager \ |
| 77 | meta-vib4/recipes-core/glibc \ | 68 | meta-vib4/recipes-core/glibc \ |
| 78 | meta-vib4/recipes-support/lvm2 \ | 69 | meta-vib4/recipes-support/lvm2 \ |
| 79 | meta-vib4/recipes-kernel/linux-libc-headers \ | 70 | meta-vib4/recipes-kernel/linux-libc-headers \ |
| 71 | meta-vib4/recipes-devtools/binutils \ | ||
| 72 | meta-vib4/recipes-yocto-ivi/packagegroups \ | ||
| 73 | meta-vib4/recipes-graphics/wayland/wayland-ivi-extension_%.bbappend \ | ||
| 74 | meta-vib4/recipes-graphics/wayland/libinput_%.bbappend \ | ||
| 80 | " | 75 | " |
diff --git a/conf/distro/include/tegra.inc b/conf/distro/include/tegra.inc deleted file mode 100644 index 618a634..0000000 --- a/conf/distro/include/tegra.inc +++ /dev/null | |||
| @@ -1,17 +0,0 @@ | |||
| 1 | python set_nv_drv_version () { | ||
| 2 | # Boiler plate code to setup bitbake objects | ||
| 3 | d = e.data | ||
| 4 | |||
| 5 | nv_drv_version = d.getVar('NV_DRV_VER', True) | ||
| 6 | if nv_drv_version != "ignore": | ||
| 7 | # FIXME: When we add support to internal builds, both debug and release | ||
| 8 | # builds will need to be considered | ||
| 9 | path = d.getVar('PLATFORM_TOPDIR', True) | ||
| 10 | get_nv_drv_cmd = "strings " + path + "/lib-target/nvidia_drv.so \ | ||
| 11 | | grep -o -P '(?<=Driver ).*(?=Release)' | awk {'print $1'}" | ||
| 12 | # Execute cmd | ||
| 13 | nv_drv_version = bb.process.run(get_nv_drv_cmd)[0].strip() | ||
| 14 | # Store returned value in NV_DRV_VER | ||
| 15 | d.setVar('NV_DRV_VER', nv_drv_version) | ||
| 16 | } | ||
| 17 | |||
