summaryrefslogtreecommitdiffstats
path: root/meta-renesas-extras
diff options
context:
space:
mode:
Diffstat (limited to 'meta-renesas-extras')
-rw-r--r--meta-renesas-extras/classes/renesas-module.bbclass79
-rw-r--r--meta-renesas-extras/conf/layer.conf40
-rw-r--r--meta-renesas-extras/recipes/adbd/adbd.bbappend30
-rw-r--r--meta-renesas-extras/recipes/adbd/files/defaults4
-rwxr-xr-xmeta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bb58
-rw-r--r--meta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bbappend30
-rw-r--r--meta-renesas-extras/recipes/fdpm-module/fdpm-user-module.bbappend32
-rw-r--r--meta-renesas-extras/recipes/glibc/glibc_%.bbappend32
-rw-r--r--meta-renesas-extras/recipes/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch34
-rw-r--r--meta-renesas-extras/recipes/gstreamer/gstreamer1.0-libav_1.2.3.bb27
-rw-r--r--meta-renesas-extras/recipes/linux-libc-headers/linux-libc-headers_%.bbappend30
-rw-r--r--meta-renesas-extras/recipes/linux/linux-renesas/b2qt.cfg89
-rw-r--r--meta-renesas-extras/recipes/linux/linux-renesas_3.10%.bbappend35
-rw-r--r--meta-renesas-extras/recipes/mesa/mesa_%.bbappend30
-rwxr-xr-xmeta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bb54
-rw-r--r--meta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bbappend30
-rw-r--r--meta-renesas-extras/recipes/mmngr-module/mmngr-user-module.bbappend30
-rwxr-xr-xmeta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bb41
-rw-r--r--meta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bbappend30
-rw-r--r--meta-renesas-extras/recipes/mmngr-module/mmngrbuf-user-module.bbappend30
-rw-r--r--meta-renesas-extras/recipes/omx-module/omx-user-module.bbappend41
-rw-r--r--meta-renesas-extras/recipes/qt5/qtbase_git.bbappend30
-rwxr-xr-xmeta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bb40
-rw-r--r--meta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bbappend30
-rw-r--r--meta-renesas-extras/recipes/s3ctl-module/s3ctl-user-module.bbappend30
-rwxr-xr-xmeta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bb48
-rw-r--r--meta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bbappend30
-rwxr-xr-xmeta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bb61
-rw-r--r--meta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bbappend30
-rwxr-xr-xmeta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bb63
-rw-r--r--meta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bbappend30
-rw-r--r--meta-renesas-extras/recipes/vspm-module/vspm-user-module.bbappend30
32 files changed, 1228 insertions, 0 deletions
diff --git a/meta-renesas-extras/classes/renesas-module.bbclass b/meta-renesas-extras/classes/renesas-module.bbclass
new file mode 100644
index 0000000..a0b5014
--- /dev/null
+++ b/meta-renesas-extras/classes/renesas-module.bbclass
@@ -0,0 +1,79 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30### Unfortunately the kernel module recipes in meta-renesas/meta-rcar-gen2
31### are fairly broken, as they tend to install their include files into the
32### staging area. That breaks when recompiling the kernel and is just flaky
33### in general. Try to make things work reliably.
34
35inherit module
36addtask shared_workdir after do_compile
37
38EXTRA_OEMAKE += "ARCH=${ARCH}"
39
40export BUILDDIR = "${STAGING_DIR_HOST}"
41export LIBSHARED = "${STAGING_LIBDIR}"
42export KERNELSRC = "${STAGING_KERNEL_DIR}"
43export CROSS_COMPILE = "${TARGET_PREFIX}"
44export KERNELDIR = "${STAGING_KERNEL_BUILDDIR}"
45export LDFLAGS = ""
46export CP = "cp"
47
48MODULE_SOURCE_DIR ?= "${S}/drv/"
49
50do_compile() {
51 cd ${MODULE_SOURCE_DIR}
52 module_do_compile
53 cd -
54}
55
56deploy_build_deps() {
57 targetdir="$1"
58
59 install -d ${targetdir}/include
60 install ${MODULE_SOURCE_DIR}/Module.symvers $targetdir/include/${MODULE_NAME}.symvers
61
62 for header in ${MODULE_HEADERS} ; do
63 install -t ${targetdir}/include ${S}/${header}
64 done
65}
66
67do_shared_workdir () {
68 deploy_build_deps ${STAGING_KERNEL_BUILDDIR}
69}
70
71do_install() {
72 install -D ${MODULE_SOURCE_DIR}/${MODULE_NAME}${KERNEL_OBJECT_SUFFIX} ${D}/lib/modules/${KERNEL_VERSION}/extra/${MODULE_NAME}${KERNEL_OBJECT_SUFFIX}
73 deploy_build_deps ${D}/usr/src/kernel
74}
75
76FILES_${PN}-dev = " \
77 /usr/src/kernel/include/${MODULE_NAME}.symvers \
78 /usr/src/kernel/include/*.h \
79"
diff --git a/meta-renesas-extras/conf/layer.conf b/meta-renesas-extras/conf/layer.conf
new file mode 100644
index 0000000..4ad824c
--- /dev/null
+++ b/meta-renesas-extras/conf/layer.conf
@@ -0,0 +1,40 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# We have a conf and classes directory, append to BBPATH
31BBPATH .= ":${LAYERDIR}"
32
33# We have a recipes directory, add to BBFILES
34BBFILES += "${LAYERDIR}/recipes*/*/*.bb \
35 ${LAYERDIR}/recipes*/*/*.bbappend \
36 "
37
38BBFILE_COLLECTIONS += "b2qt_renesas"
39BBFILE_PATTERN_b2qt_renesas := "^${LAYERDIR}/"
40BBFILE_PRIORITY_b2qt_renesas = "20"
diff --git a/meta-renesas-extras/recipes/adbd/adbd.bbappend b/meta-renesas-extras/recipes/adbd/adbd.bbappend
new file mode 100644
index 0000000..6f7a3f5
--- /dev/null
+++ b/meta-renesas-extras/recipes/adbd/adbd.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
diff --git a/meta-renesas-extras/recipes/adbd/files/defaults b/meta-renesas-extras/recipes/adbd/files/defaults
new file mode 100644
index 0000000..d2a3cc0
--- /dev/null
+++ b/meta-renesas-extras/recipes/adbd/files/defaults
@@ -0,0 +1,4 @@
1VENDOR=0x18d1
2PRODUCT=0x0000
3SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address)
4USE_ETHERNET=no
diff --git a/meta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bb b/meta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bb
new file mode 100755
index 0000000..6b48c83
--- /dev/null
+++ b/meta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bb
@@ -0,0 +1,58 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30LICENSE = "GPLv2 & MIT"
31LIC_FILES_CHKSUM = "\
32file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
33file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \
34file://include/GPL-COPYING;md5=ffa10f40b98be2c2bc9608f56827ed23 \
35file://include/MIT-COPYING;md5=5526ef6e21dc96a1dd89fac4bde9f995 \
36"
37
38DEPENDS = "mmngr-kernel-module"
39SRC_URI = "file://fdpm-kernel.tar.bz2"
40S = "${WORKDIR}/fdpm"
41
42do_configure[depends] += "mmngr-kernel-module:do_shared_workdir"
43
44inherit renesas-module
45
46FDPM_CFG_r8a7790 = "H2CONFIG"
47FDPM_CFG_r8a7791 = "M2CONFIG"
48FDPM_CFG_r8a7793 = "M2CONFIG"
49FDPM_CFG_r8a7794 = "E2CONFIG"
50
51MODULE_NAME = "fdpm"
52MODULE_HEADERS = "include/fdpm_drv.h include/fdpm_public.h include/fdpm_api.h"
53
54do_compile_prepend() {
55 export FDPM_CONFIG=${FDPM_CFG}
56 export FDPM_MMNGRDIR=${STAGING_KERNEL_BUILDDIR}/include
57 export FDPM_MMNGRSYMVERS=mmngr.symvers
58}
diff --git a/meta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bbappend b/meta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bbappend
new file mode 100644
index 0000000..4ffe869
--- /dev/null
+++ b/meta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${BSPDIR}/sources/meta-renesas/meta-rcar-gen2/recipes-kernel/fdpm-module/files:"
diff --git a/meta-renesas-extras/recipes/fdpm-module/fdpm-user-module.bbappend b/meta-renesas-extras/recipes/fdpm-module/fdpm-user-module.bbappend
new file mode 100644
index 0000000..1704972
--- /dev/null
+++ b/meta-renesas-extras/recipes/fdpm-module/fdpm-user-module.bbappend
@@ -0,0 +1,32 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30do_compile[depends] += "\
31 fdpm-kernel-module:do_shared_workdir \
32 mmngr-kernel-module:do_shared_workdir"
diff --git a/meta-renesas-extras/recipes/glibc/glibc_%.bbappend b/meta-renesas-extras/recipes/glibc/glibc_%.bbappend
new file mode 100644
index 0000000..e0d6c92
--- /dev/null
+++ b/meta-renesas-extras/recipes/glibc/glibc_%.bbappend
@@ -0,0 +1,32 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30do_install_append() {
31 echo "/usr/local/lib" >> ${D}${sysconfdir}/ld.so.conf
32}
diff --git a/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
new file mode 100644
index 0000000..bc36d70
--- /dev/null
+++ b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-libav/0001-Disable-yasm-for-libav-when-disable-yasm.patch
@@ -0,0 +1,34 @@
1From 54bba228ea52d01fd84941d97be23c03f9862b64 Mon Sep 17 00:00:00 2001
2From: Carlos Rafael Giani <dv@pseudoterminal.org>
3Date: Sat, 6 Apr 2013 01:22:22 +0200
4Subject: [PATCH] Disable yasm for libav when --disable-yasm
5
6Upstream-Status: Inappropriate [configuration]
7
8Signed-off-by: Shane Wang <shane.wang@intel.com>
9Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
10---
11 configure.ac | 4 ++++
12 1 file changed, 4 insertions(+)
13
14diff --git a/configure.ac b/configure.ac
15index 22ede88..ef3c050 100644
16--- a/configure.ac
17+++ b/configure.ac
18@@ -305,6 +305,12 @@ else
19 emblibav_configure_args="$emblibav_configure_args --enable-gpl"
20 fi
21
22+ AC_ARG_ENABLE(yasm,
23+ [AC_HELP_STRING([--disable-yasm], [disable use of yasm assembler])])
24+ if test "x$enable_yasm" = "xno"; then
25+ emblibav_configure_args="$emblibav_configure_args --disable-yasm"
26+ fi
27+
28 # if we are cross-compiling, tell libav so
29 case $host in
30 *android*)
31--
321.8.2
33
34
diff --git a/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-libav_1.2.3.bb b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-libav_1.2.3.bb
new file mode 100644
index 0000000..cfa9a66
--- /dev/null
+++ b/meta-renesas-extras/recipes/gstreamer/gstreamer1.0-libav_1.2.3.bb
@@ -0,0 +1,27 @@
1DEFAULT_PREFERENCE = "-1"
2
3include recipes-multimedia/gstreamer/gstreamer1.0-libav.inc
4
5LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
6 file://COPYING.LIB;md5=6762ed442b3822387a51c92d928ead0d \
7 file://ext/libav/gstav.h;beginline=1;endline=18;md5=a752c35267d8276fd9ca3db6994fca9c \
8 file://gst-libs/ext/libav/LICENSE;md5=23a54f59b82572c203a559346e89ed57 \
9 file://gst-libs/ext/libav/COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
10 file://gst-libs/ext/libav/COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \
11 file://gst-libs/ext/libav/COPYING.LGPLv2.1;md5=bd7a443320af8c812e4c18d1b79df004 \
12 file://gst-libs/ext/libav/COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02"
13
14SRC_URI = " \
15 http://gstreamer.freedesktop.org/src/gst-libav/gst-libav-${PV}.tar.xz \
16 file://0001-Disable-yasm-for-libav-when-disable-yasm.patch \
17 "
18SRC_URI[md5sum] = "58c7998a054d8d8ca041fa35738f72b6"
19SRC_URI[sha256sum] = "ebc7fbe10955f40df6ccc4bf689075e7e296205fc7ecd8ff383d43c5cdf5bcd6"
20LIBAV_EXTRA_CONFIGURE_COMMON_ARG = "--target-os=linux \
21 --cc='${CC}' --as='${CC}' --ld='${CC}' --nm='${NM}' --ar='${AR}' \
22 --ranlib='${RANLIB}' \
23 ${GSTREAMER_1_0_DEBUG}"
24
25S = "${WORKDIR}/gst-libav-${PV}"
26
27
diff --git a/meta-renesas-extras/recipes/linux-libc-headers/linux-libc-headers_%.bbappend b/meta-renesas-extras/recipes/linux-libc-headers/linux-libc-headers_%.bbappend
new file mode 100644
index 0000000..b421e1d
--- /dev/null
+++ b/meta-renesas-extras/recipes/linux-libc-headers/linux-libc-headers_%.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30COMPATIBLE_MACHINE = ""
diff --git a/meta-renesas-extras/recipes/linux/linux-renesas/b2qt.cfg b/meta-renesas-extras/recipes/linux/linux-renesas/b2qt.cfg
new file mode 100644
index 0000000..1c60d89
--- /dev/null
+++ b/meta-renesas-extras/recipes/linux/linux-renesas/b2qt.cfg
@@ -0,0 +1,89 @@
1# Drivers
2CONFIG_USB_RCAR_PHY=m
3CONFIG_USB_RCAR_GEN2_PHY=m
4CONFIG_USB_RENESAS_USBHS=m
5CONFIG_USB_RENESAS_USBHS_HCD=y
6CONFIG_USB_RENESAS_USBHS_UDC=y
7CONFIG_USB_OTG=y
8
9# FunctionFS for adb
10CONFIG_USB_FUNCTIONFS=m
11CONFIG_USB_FUNCTIONFS_RNDIS=y
12CONFIG_USB_FUNCTIONFS_ETH=y
13
14# Enable USB serial support
15CONFIG_USB_SERIAL=m
16CONFIG_USB_SERIAL_GENERIC=y
17CONFIG_USB_SERIAL_FTDI_SIO=m
18CONFIG_USB_SERIAL_PL2303=m
19CONFIG_USB_ACM=m
20
21# ConfigFS
22CONFIG_USB_CONFIGFS=m
23CONFIG_USB_CONFIGFS_SERIAL=y
24CONFIG_USB_CONFIGFS_ACM=y
25CONFIG_USB_CONFIGFS_OBEX=y
26CONFIG_USB_CONFIGFS_NCM=y
27CONFIG_USB_CONFIGFS_ECM=y
28CONFIG_USB_CONFIGFS_ECM_SUBSET=y
29CONFIG_USB_CONFIGFS_RNDIS=y
30CONFIG_USB_CONFIGFS_EEM=y
31CONFIG_USB_CONFIGFS_MASS_STORAGE=y
32CONFIG_USB_CONFIGFS_F_LB_SS=y
33CONFIG_USB_CONFIGFS_F_FS=y
34
35CONFIG_NOP_USB_XCEIV=y
36CONFIG_USB_GADGETFS=m
37CONFIG_USB_G_NCM=m
38CONFIG_USB_G_SERIAL=m
39CONFIG_USB_MASS_STORAGE=m
40
41# Newer inits like systemd need cgroup support
42CONFIG_CGROUP_SCHED=y
43CONFIG_CGROUPS=y
44CONFIG_CGROUP_NS=y
45CONFIG_CGROUP_FREEZER=y
46CONFIG_CGROUP_DEVICE=y
47CONFIG_CPUSETS=y
48CONFIG_PROC_PID_CPUSET=y
49CONFIG_CGROUP_CPUACCT=y
50CONFIG_RESOURCE_COUNTERS=y
51
52# Bluetooth bits
53CONFIG_BT_HIDP=y
54CONFIG_BT_HCIBTUSB=m
55CONFIG_BT_BNEP=m
56CONFIG_BT_BNEP_MC_FILTER=y
57CONFIG_BT_BNEP_PROTO_FILTER=y
58CONFIG_BT_RFCOMM=m
59CONFIG_BT_RFCOMM_TTY=y
60CONFIG_RFKILL=m
61
62CONFIG_FHANDLE=y
63CONFIG_USB_NAMESPACES=m
64
65# HID support
66CONFIG_HID=m
67CONFIG_HID_BATTERY_STRENGTH=y
68CONFIG_HIDRAW=y
69CONFIG_UHID=m
70CONFIG_HID_GENERIC=m
71
72# USB HID support
73CONFIG_USB_HID=m
74CONFIG_HID_PID=y
75CONFIG_USB_HIDDEV=y
76
77# needed for USB touchscreens
78CONFIG_HID_MULTITOUCH=y
79
80# additional configs needed for Genivi compliance
81CONFIG_EXPERIMENTAL=y
82CONFIG_ECRYPT_FS=y
83CONFIG_QUOTA=y
84CONFIG_BT=y
85
86# add uinput for automated testing
87CONFIG_INPUT_MISC=y
88CONFIG_INPUT_UINPUT=y
89
diff --git a/meta-renesas-extras/recipes/linux/linux-renesas_3.10%.bbappend b/meta-renesas-extras/recipes/linux/linux-renesas_3.10%.bbappend
new file mode 100644
index 0000000..d5e05f0
--- /dev/null
+++ b/meta-renesas-extras/recipes/linux/linux-renesas_3.10%.bbappend
@@ -0,0 +1,35 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
31
32SRC_URI_append = " \
33file://b2qt.cfg \
34"
35
diff --git a/meta-renesas-extras/recipes/mesa/mesa_%.bbappend b/meta-renesas-extras/recipes/mesa/mesa_%.bbappend
new file mode 100644
index 0000000..0dd030a
--- /dev/null
+++ b/meta-renesas-extras/recipes/mesa/mesa_%.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30PROVIDES_remove = "virtual/libgles2 virtual/egl libgbm libgbm-dev"
diff --git a/meta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bb b/meta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bb
new file mode 100755
index 0000000..b21afe4
--- /dev/null
+++ b/meta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bb
@@ -0,0 +1,54 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30LICENSE = "GPLv2 & MIT"
31LIC_FILES_CHKSUM = "\
32file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
33file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \
34file://include/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
35file://include/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \
36"
37
38SRC_URI = "file://mmngr.tar.bz2"
39S = "${WORKDIR}/mmngr"
40
41inherit renesas-module
42
43MODULE_NAME = "mmngr"
44MODULE_HEADERS = "include/mmngr_public.h include/mmngr_private.h"
45
46MMNGR_CFG_r8a7790 = "MMNGR_LAGER"
47MMNGR_CFG_r8a7791 = "MMNGR_KOELSCH"
48MMNGR_CFG_r8a7793 = "MMNGR_GOSE"
49MMNGR_CFG_r8a7794 = "MMNGR_ALT"
50
51do_compile_prepend() {
52 export MMNGR_CONFIG=${MMNGR_CFG}
53 export MMNGR_SSP_CONFIG="MMNGR_SSP_DISABLE"
54}
diff --git a/meta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bbappend b/meta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bbappend
new file mode 100644
index 0000000..23815b7
--- /dev/null
+++ b/meta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${BSPDIR}/sources/meta-renesas/meta-rcar-gen2/recipes-kernel/mmngr-module/files:"
diff --git a/meta-renesas-extras/recipes/mmngr-module/mmngr-user-module.bbappend b/meta-renesas-extras/recipes/mmngr-module/mmngr-user-module.bbappend
new file mode 100644
index 0000000..411da42
--- /dev/null
+++ b/meta-renesas-extras/recipes/mmngr-module/mmngr-user-module.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30do_compile[depends] += "mmngr-kernel-module:do_shared_workdir"
diff --git a/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bb b/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bb
new file mode 100755
index 0000000..46718d4
--- /dev/null
+++ b/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bb
@@ -0,0 +1,41 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30LICENSE = "GPLv2 & MIT"
31SRC_URI = "file://mmngrbuf.tar.bz2"
32LIC_FILES_CHKSUM = "file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
33 file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \
34 file://include/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
35 file://include/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 "
36
37inherit renesas-module
38
39S = "${WORKDIR}/mmngrbuf"
40
41MODULE_NAME = "mmngrbuf"
diff --git a/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bbappend b/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bbappend
new file mode 100644
index 0000000..23815b7
--- /dev/null
+++ b/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${BSPDIR}/sources/meta-renesas/meta-rcar-gen2/recipes-kernel/mmngr-module/files:"
diff --git a/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-user-module.bbappend b/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-user-module.bbappend
new file mode 100644
index 0000000..840e770
--- /dev/null
+++ b/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-user-module.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30do_compile[depends] += "mmngrbuf-kernel-module:do_shared_workdir"
diff --git a/meta-renesas-extras/recipes/omx-module/omx-user-module.bbappend b/meta-renesas-extras/recipes/omx-module/omx-user-module.bbappend
new file mode 100644
index 0000000..995d265
--- /dev/null
+++ b/meta-renesas-extras/recipes/omx-module/omx-user-module.bbappend
@@ -0,0 +1,41 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30# The recipe adds an unpack_append where it creates the folder, but by then
31# base.bbclass will have reported a non-existent directory warning.
32do_unpack_prepend() {
33 bb.utils.mkdirhier(d.getVar('S', True))
34}
35
36do_configure[depends] += "\
37 mmngr-kernel-module:do_shared_workdir \
38 vspm-kernel-module:do_shared_workdir \
39 s3ctl-kernel-module:do_shared_workdir \
40 fdpm-kernel-module:do_shared_workdir \
41 uvcs-kernel-module:do_shared_workdir"
diff --git a/meta-renesas-extras/recipes/qt5/qtbase_git.bbappend b/meta-renesas-extras/recipes/qt5/qtbase_git.bbappend
new file mode 100644
index 0000000..8770c65
--- /dev/null
+++ b/meta-renesas-extras/recipes/qt5/qtbase_git.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30PACKAGECONFIG += "kms"
diff --git a/meta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bb b/meta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bb
new file mode 100755
index 0000000..6ff2fb8
--- /dev/null
+++ b/meta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bb
@@ -0,0 +1,40 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30LICENSE = "GPLv2 & MIT"
31LIC_FILES_CHKSUM = "file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
32 file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378"
33SRC_URI = "file://s3ctl-kernel.tar.bz2"
34
35S = "${WORKDIR}/s3ctl"
36
37inherit renesas-module
38
39MODULE_NAME = "s3ctl"
40MODULE_HEADERS = "include/s3ctl_private.h"
diff --git a/meta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bbappend b/meta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bbappend
new file mode 100644
index 0000000..38f22a8
--- /dev/null
+++ b/meta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${BSPDIR}/sources/meta-renesas/meta-rcar-gen2/recipes-kernel/s3ctl-module/files:"
diff --git a/meta-renesas-extras/recipes/s3ctl-module/s3ctl-user-module.bbappend b/meta-renesas-extras/recipes/s3ctl-module/s3ctl-user-module.bbappend
new file mode 100644
index 0000000..51b2f42
--- /dev/null
+++ b/meta-renesas-extras/recipes/s3ctl-module/s3ctl-user-module.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30do_compile[depends] += "s3ctl-kernel-module:do_shared_workdir"
diff --git a/meta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bb b/meta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bb
new file mode 100755
index 0000000..0fe9aad
--- /dev/null
+++ b/meta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bb
@@ -0,0 +1,48 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30LICENSE = "GPLv2 & MIT"
31LIC_FILES_CHKSUM = "\
32file://include/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
33file://include/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \
34"
35
36SRC_URI = "file://uvcs-kernel.tar.bz2"
37S = "${WORKDIR}/uvcs"
38
39inherit renesas-module
40
41export UVCS_DRV_SRC_DIR = "${S}/source/uvcs_lkm"
42export UVCS_CMN_SRC_DIR = "${S}/source/uvcs_cmn"
43export UVCS_CMN_INC_DIR = "${S}/include"
44export DRV_CORE_SRC_DIR = "${S}/source/driver_core"
45
46MODULE_NAME = "uvcs_cmn"
47MODULE_HEADERS = "include/uvcs_cmn.h include/uvcs_types.h"
48MODULE_SOURCE_DIR = "${S}/source/makefile/linaro_4_7_3/"
diff --git a/meta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bbappend b/meta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bbappend
new file mode 100644
index 0000000..f491bc1
--- /dev/null
+++ b/meta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${BSPDIR}/sources/meta-renesas/meta-rcar-gen2/recipes-kernel/uvcs-module/files:"
diff --git a/meta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bb b/meta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bb
new file mode 100755
index 0000000..ff20028
--- /dev/null
+++ b/meta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bb
@@ -0,0 +1,61 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30LICENSE = "GPLv2 & MIT"
31LIC_FILES_CHKSUM = " \
32file://GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
33file://MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \
34"
35
36SRC_URI = " \
37 git://github.com/renesas-devel/vsp2driver.git;protocol=git;branch=RCAR-GEN2/1.0.0 \
38 file://vsp2drv-init \
39"
40SRCREV = "8cc362a6c961661e4655904f8d7731e501529d6c"
41S = "${WORKDIR}/git"
42
43DEPENDS = "vspm-kernel-module"
44do_configure[depends] += "vspm-kernel-module:do_shared_workdir"
45
46MODULE_NAME = "vsp2"
47INITSCRIPT_NAME = "vsp2drv"
48INITSCRIPT_PARAMS = "start 8 5 2 . stop 61 0 1 6 ."
49
50inherit renesas-module update-rc.d
51
52do_compile_prepend() {
53 export VSP2_VSPMDIR=${STAGING_KERNEL_BUILDDIR}/include
54 export VSP2_VSPMSYMVERS=vspm.symvers
55}
56
57do_install_append() {
58 install -D -m 0755 ${WORKDIR}/vsp2drv-init ${D}/${sysconfdir}/init.d/vsp2drv
59}
60
61FILES_${PN} += "/etc/init.d/vsp2drv"
diff --git a/meta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bbappend b/meta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bbappend
new file mode 100644
index 0000000..509317a
--- /dev/null
+++ b/meta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${BSPDIR}/sources/meta-renesas/meta-rcar-gen2/recipes-kernel/vspm-module/files:"
diff --git a/meta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bb b/meta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bb
new file mode 100755
index 0000000..05518fa
--- /dev/null
+++ b/meta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bb
@@ -0,0 +1,63 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30LICENSE = "GPLv2 & MIT"
31LIC_FILES_CHKSUM = "\
32file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
33file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \
34"
35
36SRC_URI = "file://vspm-kernel.tar.bz2"
37S = "${WORKDIR}/vspm"
38
39inherit renesas-module
40
41MODULE_NAME = "vspm"
42MODULE_HEADERS = " \
43include/vspm_public.h \
44include/vsp_drv.h \
45include/tddmac_drv.h \
46include/vspm_if.h \
47"
48
49VSPM_CFG_r8a7790 = "H2CONFIG"
50VSPM_CFG_r8a7791 = "M2CONFIG"
51VSPM_CFG_r8a7793 = "M2CONFIG"
52VSPM_CFG_r8a7794 = "E2CONFIG"
53
54do_compile_prepend() {
55 export VSPM_CONFIG=${VSPM_CFG}
56}
57
58do_install_append() {
59 # Copy for vspm-user-module
60 install -t ${STAGING_INCDIR} ${S}/include/vspm_if.h
61}
62
63FILES_${PN}-dev += "/usr/include/vspm_if.h"
diff --git a/meta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bbappend b/meta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bbappend
new file mode 100644
index 0000000..509317a
--- /dev/null
+++ b/meta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30FILESEXTRAPATHS_prepend := "${BSPDIR}/sources/meta-renesas/meta-rcar-gen2/recipes-kernel/vspm-module/files:"
diff --git a/meta-renesas-extras/recipes/vspm-module/vspm-user-module.bbappend b/meta-renesas-extras/recipes/vspm-module/vspm-user-module.bbappend
new file mode 100644
index 0000000..2c0744f
--- /dev/null
+++ b/meta-renesas-extras/recipes/vspm-module/vspm-user-module.bbappend
@@ -0,0 +1,30 @@
1############################################################################
2##
3## Copyright (C) 2016 The Qt Company Ltd.
4## Contact: https://www.qt.io/licensing/
5##
6## This file is part of the Boot to Qt meta layer.
7##
8## $QT_BEGIN_LICENSE:GPL$
9## Commercial License Usage
10## Licensees holding valid commercial Qt licenses may use this file in
11## accordance with the commercial license agreement provided with the
12## Software or, alternatively, in accordance with the terms contained in
13## a written agreement between you and The Qt Company. For licensing terms
14## and conditions see https://www.qt.io/terms-conditions. For further
15## information use the contact form at https://www.qt.io/contact-us.
16##
17## GNU General Public License Usage
18## Alternatively, this file may be used under the terms of the GNU
19## General Public License version 3 or (at your option) any later version
20## approved by the KDE Free Qt Foundation. The licenses are as published by
21## the Free Software Foundation and appearing in the file LICENSE.GPL3
22## included in the packaging of this file. Please review the following
23## information to ensure the GNU General Public License requirements will
24## be met: https://www.gnu.org/licenses/gpl-3.0.html.
25##
26## $QT_END_LICENSE$
27##
28############################################################################
29
30do_compile[depends] += "vspm-kernel-module:do_shared_workdir"