diff options
author | Louai Al-Khanji <louai.al-khanji@theqtcompany.com> | 2016-03-14 16:53:56 -0700 |
---|---|---|
committer | Louai Al-Khanji <louai.al-khanji@qt.io> | 2016-05-10 15:26:17 +0000 |
commit | a42496a9498739cb7362d11dd7c22d08b39ccbb9 (patch) | |
tree | b6a6e84fcc9c69f81689979a043234ff748bab8d /meta-renesas-extras/recipes | |
parent | 4a0beee17a7b3be144771363920419604f1facec (diff) | |
download | meta-boot2qt-a42496a9498739cb7362d11dd7c22d08b39ccbb9.tar.gz |
Add Support for Renesas R-Car Gen2 Devices
I have only personally tested the porter build as it's the only
device I have, but getting the others to work as well should be
straight forward.
Please see the note in conf/distro/include/rcar-gen2.inc about
the binary drivers. The documentation we ship with Qt Creator
should expand on how to install the drivers. Additionally we
must check with Renesas how we could redistribute prebuilt
images if we want to do that.
Change-Id: I82e03aad9b43bee068aaa0472aeac4d394f049a8
Reviewed-by: Samuli Piippo <samuli.piippo@qt.io>
Diffstat (limited to 'meta-renesas-extras/recipes')
30 files changed, 889 insertions, 0 deletions
diff --git a/meta-renesas-extras/recipes/adbd/adbd.bbappend b/meta-renesas-extras/recipes/adbd/adbd.bbappend new file mode 100644 index 0000000..0657375 --- /dev/null +++ b/meta-renesas-extras/recipes/adbd/adbd.bbappend | |||
@@ -0,0 +1,22 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | FILESEXTRAPATHS_prepend := "${THISDIR}/files:" | ||
diff --git a/meta-renesas-extras/recipes/adbd/files/defaults b/meta-renesas-extras/recipes/adbd/files/defaults new file mode 100644 index 0000000..0fbba4c --- /dev/null +++ b/meta-renesas-extras/recipes/adbd/files/defaults | |||
@@ -0,0 +1,4 @@ | |||
1 | VENDOR=0x18d1 | ||
2 | PRODUCT=0x0000 | ||
3 | SERIAL=$(hostname)-$(sed -e 's/://g' /sys/class/net/eth0/address) | ||
4 | USE_ETHERNET=yes | ||
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..b1077f1 --- /dev/null +++ b/meta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bb | |||
@@ -0,0 +1,50 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | LICENSE = "GPLv2 & MIT" | ||
23 | LIC_FILES_CHKSUM = "\ | ||
24 | file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
25 | file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \ | ||
26 | file://include/GPL-COPYING;md5=ffa10f40b98be2c2bc9608f56827ed23 \ | ||
27 | file://include/MIT-COPYING;md5=5526ef6e21dc96a1dd89fac4bde9f995 \ | ||
28 | " | ||
29 | |||
30 | DEPENDS = "mmngr-kernel-module" | ||
31 | SRC_URI = "file://fdpm-kernel.tar.bz2" | ||
32 | S = "${WORKDIR}/fdpm" | ||
33 | |||
34 | do_configure[depends] += "mmngr-kernel-module:do_shared_workdir" | ||
35 | |||
36 | inherit renesas-module | ||
37 | |||
38 | FDPM_CFG_r8a7790 = "H2CONFIG" | ||
39 | FDPM_CFG_r8a7791 = "M2CONFIG" | ||
40 | FDPM_CFG_r8a7793 = "M2CONFIG" | ||
41 | FDPM_CFG_r8a7794 = "E2CONFIG" | ||
42 | |||
43 | MODULE_NAME = "fdpm" | ||
44 | MODULE_HEADERS = "include/fdpm_drv.h include/fdpm_public.h include/fdpm_api.h" | ||
45 | |||
46 | do_compile_prepend() { | ||
47 | export FDPM_CONFIG=${FDPM_CFG} | ||
48 | export FDPM_MMNGRDIR=${STAGING_KERNEL_BUILDDIR}/include | ||
49 | export FDPM_MMNGRSYMVERS=mmngr.symvers | ||
50 | } | ||
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..4c8f097 --- /dev/null +++ b/meta-renesas-extras/recipes/fdpm-module/fdpm-kernel-module.bbappend | |||
@@ -0,0 +1,22 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | FILESEXTRAPATHS_prepend := "${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..003b7b9 --- /dev/null +++ b/meta-renesas-extras/recipes/fdpm-module/fdpm-user-module.bbappend | |||
@@ -0,0 +1,24 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | do_compile[depends] += "\ | ||
23 | fdpm-kernel-module:do_shared_workdir \ | ||
24 | 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..df7fbb3 --- /dev/null +++ b/meta-renesas-extras/recipes/glibc/glibc_%.bbappend | |||
@@ -0,0 +1,24 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | do_install_append() { | ||
23 | echo "/usr/local/lib" >> ${D}${sysconfdir}/ld.so.conf | ||
24 | } | ||
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 @@ | |||
1 | From 54bba228ea52d01fd84941d97be23c03f9862b64 Mon Sep 17 00:00:00 2001 | ||
2 | From: Carlos Rafael Giani <dv@pseudoterminal.org> | ||
3 | Date: Sat, 6 Apr 2013 01:22:22 +0200 | ||
4 | Subject: [PATCH] Disable yasm for libav when --disable-yasm | ||
5 | |||
6 | Upstream-Status: Inappropriate [configuration] | ||
7 | |||
8 | Signed-off-by: Shane Wang <shane.wang@intel.com> | ||
9 | Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> | ||
10 | --- | ||
11 | configure.ac | 4 ++++ | ||
12 | 1 file changed, 4 insertions(+) | ||
13 | |||
14 | diff --git a/configure.ac b/configure.ac | ||
15 | index 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 | -- | ||
32 | 1.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 @@ | |||
1 | DEFAULT_PREFERENCE = "-1" | ||
2 | |||
3 | include recipes-multimedia/gstreamer/gstreamer1.0-libav.inc | ||
4 | |||
5 | LIC_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 | |||
14 | SRC_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 | " | ||
18 | SRC_URI[md5sum] = "58c7998a054d8d8ca041fa35738f72b6" | ||
19 | SRC_URI[sha256sum] = "ebc7fbe10955f40df6ccc4bf689075e7e296205fc7ecd8ff383d43c5cdf5bcd6" | ||
20 | LIBAV_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 | |||
25 | S = "${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..8c37291 --- /dev/null +++ b/meta-renesas-extras/recipes/linux-libc-headers/linux-libc-headers_%.bbappend | |||
@@ -0,0 +1,22 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | COMPATIBLE_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..6ecc61e --- /dev/null +++ b/meta-renesas-extras/recipes/linux/linux-renesas/b2qt.cfg | |||
@@ -0,0 +1,77 @@ | |||
1 | # Drivers | ||
2 | CONFIG_USB_RCAR_PHY=m | ||
3 | CONFIG_USB_RCAR_GEN2_PHY=m | ||
4 | CONFIG_USB_RENESAS_USBHS=m | ||
5 | CONFIG_USB_RENESAS_USBHS_HCD=y | ||
6 | CONFIG_USB_RENESAS_USBHS_UDC=y | ||
7 | CONFIG_USB_OTG=y | ||
8 | |||
9 | # FunctionFS for adb | ||
10 | CONFIG_USB_FUNCTIONFS=m | ||
11 | CONFIG_USB_FUNCTIONFS_RNDIS=y | ||
12 | CONFIG_USB_FUNCTIONFS_ETH=y | ||
13 | |||
14 | # Enable USB serial support | ||
15 | CONFIG_USB_SERIAL=m | ||
16 | CONFIG_USB_SERIAL_GENERIC=y | ||
17 | CONFIG_USB_SERIAL_FTDI_SIO=m | ||
18 | CONFIG_USB_SERIAL_PL2303=m | ||
19 | CONFIG_USB_ACM=m | ||
20 | |||
21 | # ConfigFS | ||
22 | CONFIG_USB_CONFIGFS=m | ||
23 | CONFIG_USB_CONFIGFS_SERIAL=y | ||
24 | CONFIG_USB_CONFIGFS_ACM=y | ||
25 | CONFIG_USB_CONFIGFS_OBEX=y | ||
26 | CONFIG_USB_CONFIGFS_NCM=y | ||
27 | CONFIG_USB_CONFIGFS_ECM=y | ||
28 | CONFIG_USB_CONFIGFS_ECM_SUBSET=y | ||
29 | CONFIG_USB_CONFIGFS_RNDIS=y | ||
30 | CONFIG_USB_CONFIGFS_EEM=y | ||
31 | CONFIG_USB_CONFIGFS_MASS_STORAGE=y | ||
32 | CONFIG_USB_CONFIGFS_F_LB_SS=y | ||
33 | CONFIG_USB_CONFIGFS_F_FS=y | ||
34 | |||
35 | CONFIG_NOP_USB_XCEIV=y | ||
36 | CONFIG_USB_GADGETFS=m | ||
37 | CONFIG_USB_G_NCM=m | ||
38 | CONFIG_USB_G_SERIAL=m | ||
39 | CONFIG_USB_MASS_STORAGE=m | ||
40 | |||
41 | # Newer inits like systemd need cgroup support | ||
42 | CONFIG_CGROUP_SCHED=y | ||
43 | CONFIG_CGROUPS=y | ||
44 | CONFIG_CGROUP_NS=y | ||
45 | CONFIG_CGROUP_FREEZER=y | ||
46 | CONFIG_CGROUP_DEVICE=y | ||
47 | CONFIG_CPUSETS=y | ||
48 | CONFIG_PROC_PID_CPUSET=y | ||
49 | CONFIG_CGROUP_CPUACCT=y | ||
50 | CONFIG_RESOURCE_COUNTERS=y | ||
51 | |||
52 | # Bluetooth bits | ||
53 | CONFIG_BT_HIDP=y | ||
54 | CONFIG_BT_HCIBTUSB=m | ||
55 | CONFIG_BT_BNEP=m | ||
56 | CONFIG_BT_BNEP_MC_FILTER=y | ||
57 | CONFIG_BT_BNEP_PROTO_FILTER=y | ||
58 | CONFIG_BT_RFCOMM=m | ||
59 | CONFIG_BT_RFCOMM_TTY=y | ||
60 | CONFIG_RFKILL=m | ||
61 | |||
62 | CONFIG_FHANDLE=y | ||
63 | CONFIG_USB_NAMESPACES=m | ||
64 | |||
65 | # needed for USB touchscreens | ||
66 | CONFIG_HID_MULTITOUCH=y | ||
67 | |||
68 | # additional configs needed for Genivi compliance | ||
69 | CONFIG_EXPERIMENTAL=y | ||
70 | CONFIG_ECRYPT_FS=y | ||
71 | CONFIG_QUOTA=y | ||
72 | CONFIG_BT=y | ||
73 | |||
74 | # add uinput for automated testing | ||
75 | CONFIG_INPUT_MISC=y | ||
76 | CONFIG_INPUT_UINPUT=y | ||
77 | |||
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..31063ec --- /dev/null +++ b/meta-renesas-extras/recipes/linux/linux-renesas_3.10%.bbappend | |||
@@ -0,0 +1,27 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" | ||
23 | |||
24 | SRC_URI_append = " \ | ||
25 | file://b2qt.cfg \ | ||
26 | " | ||
27 | |||
diff --git a/meta-renesas-extras/recipes/mesa/mesa_%.bbappend b/meta-renesas-extras/recipes/mesa/mesa_%.bbappend new file mode 100644 index 0000000..d43b386 --- /dev/null +++ b/meta-renesas-extras/recipes/mesa/mesa_%.bbappend | |||
@@ -0,0 +1,22 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | PROVIDES_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..4fe274b --- /dev/null +++ b/meta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bb | |||
@@ -0,0 +1,46 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | LICENSE = "GPLv2 & MIT" | ||
23 | LIC_FILES_CHKSUM = "\ | ||
24 | file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
25 | file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \ | ||
26 | file://include/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
27 | file://include/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \ | ||
28 | " | ||
29 | |||
30 | SRC_URI = "file://mmngr.tar.bz2" | ||
31 | S = "${WORKDIR}/mmngr" | ||
32 | |||
33 | inherit renesas-module | ||
34 | |||
35 | MODULE_NAME = "mmngr" | ||
36 | MODULE_HEADERS = "include/mmngr_public.h include/mmngr_private.h" | ||
37 | |||
38 | MMNGR_CFG_r8a7790 = "MMNGR_LAGER" | ||
39 | MMNGR_CFG_r8a7791 = "MMNGR_KOELSCH" | ||
40 | MMNGR_CFG_r8a7793 = "MMNGR_GOSE" | ||
41 | MMNGR_CFG_r8a7794 = "MMNGR_ALT" | ||
42 | |||
43 | do_compile_prepend() { | ||
44 | export MMNGR_CONFIG=${MMNGR_CFG} | ||
45 | export MMNGR_SSP_CONFIG="MMNGR_SSP_DISABLE" | ||
46 | } | ||
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..cc3a255 --- /dev/null +++ b/meta-renesas-extras/recipes/mmngr-module/mmngr-kernel-module.bbappend | |||
@@ -0,0 +1,22 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | FILESEXTRAPATHS_prepend := "${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..87e276b --- /dev/null +++ b/meta-renesas-extras/recipes/mmngr-module/mmngr-user-module.bbappend | |||
@@ -0,0 +1,22 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | do_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..b21ad69 --- /dev/null +++ b/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bb | |||
@@ -0,0 +1,33 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | LICENSE = "GPLv2 & MIT" | ||
23 | SRC_URI = "file://mmngrbuf.tar.bz2" | ||
24 | LIC_FILES_CHKSUM = "file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
25 | file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \ | ||
26 | file://include/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
27 | file://include/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 " | ||
28 | |||
29 | inherit renesas-module | ||
30 | |||
31 | S = "${WORKDIR}/mmngrbuf" | ||
32 | |||
33 | MODULE_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..cc3a255 --- /dev/null +++ b/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-kernel-module.bbappend | |||
@@ -0,0 +1,22 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | FILESEXTRAPATHS_prepend := "${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..237d739 --- /dev/null +++ b/meta-renesas-extras/recipes/mmngr-module/mmngrbuf-user-module.bbappend | |||
@@ -0,0 +1,22 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | do_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..ff5988e --- /dev/null +++ b/meta-renesas-extras/recipes/omx-module/omx-user-module.bbappend | |||
@@ -0,0 +1,33 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | # The recipe adds an unpack_append where it creates the folder, but by then | ||
23 | # base.bbclass will have reported a non-existent directory warning. | ||
24 | do_unpack_prepend() { | ||
25 | bb.utils.mkdirhier(d.getVar('S', True)) | ||
26 | } | ||
27 | |||
28 | do_configure[depends] += "\ | ||
29 | mmngr-kernel-module:do_shared_workdir \ | ||
30 | vspm-kernel-module:do_shared_workdir \ | ||
31 | s3ctl-kernel-module:do_shared_workdir \ | ||
32 | fdpm-kernel-module:do_shared_workdir \ | ||
33 | 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..2346521 --- /dev/null +++ b/meta-renesas-extras/recipes/qt5/qtbase_git.bbappend | |||
@@ -0,0 +1,22 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | PACKAGECONFIG += "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..ce68a6e --- /dev/null +++ b/meta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bb | |||
@@ -0,0 +1,32 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | LICENSE = "GPLv2 & MIT" | ||
23 | LIC_FILES_CHKSUM = "file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
24 | file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378" | ||
25 | SRC_URI = "file://s3ctl-kernel.tar.bz2" | ||
26 | |||
27 | S = "${WORKDIR}/s3ctl" | ||
28 | |||
29 | inherit renesas-module | ||
30 | |||
31 | MODULE_NAME = "s3ctl" | ||
32 | MODULE_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..d511650 --- /dev/null +++ b/meta-renesas-extras/recipes/s3ctl-module/s3ctl-kernel-module.bbappend | |||
@@ -0,0 +1,22 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | FILESEXTRAPATHS_prepend := "${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..ea8d7c0 --- /dev/null +++ b/meta-renesas-extras/recipes/s3ctl-module/s3ctl-user-module.bbappend | |||
@@ -0,0 +1,22 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | do_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..264e50d --- /dev/null +++ b/meta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bb | |||
@@ -0,0 +1,40 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | LICENSE = "GPLv2 & MIT" | ||
23 | LIC_FILES_CHKSUM = "\ | ||
24 | file://include/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
25 | file://include/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \ | ||
26 | " | ||
27 | |||
28 | SRC_URI = "file://uvcs-kernel.tar.bz2" | ||
29 | S = "${WORKDIR}/uvcs" | ||
30 | |||
31 | inherit renesas-module | ||
32 | |||
33 | export UVCS_DRV_SRC_DIR = "${S}/source/uvcs_lkm" | ||
34 | export UVCS_CMN_SRC_DIR = "${S}/source/uvcs_cmn" | ||
35 | export UVCS_CMN_INC_DIR = "${S}/include" | ||
36 | export DRV_CORE_SRC_DIR = "${S}/source/driver_core" | ||
37 | |||
38 | MODULE_NAME = "uvcs_cmn" | ||
39 | MODULE_HEADERS = "include/uvcs_cmn.h include/uvcs_types.h" | ||
40 | MODULE_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..1853060 --- /dev/null +++ b/meta-renesas-extras/recipes/uvcs-module/uvcs-kernel-module.bbappend | |||
@@ -0,0 +1,22 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | FILESEXTRAPATHS_prepend := "${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..622acf9 --- /dev/null +++ b/meta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bb | |||
@@ -0,0 +1,53 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | LICENSE = "GPLv2 & MIT" | ||
23 | LIC_FILES_CHKSUM = " \ | ||
24 | file://GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
25 | file://MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \ | ||
26 | " | ||
27 | |||
28 | SRC_URI = " \ | ||
29 | git://github.com/renesas-devel/vsp2driver.git;protocol=git;branch=RCAR-GEN2/1.0.0 \ | ||
30 | file://vsp2drv-init \ | ||
31 | " | ||
32 | SRCREV = "8cc362a6c961661e4655904f8d7731e501529d6c" | ||
33 | S = "${WORKDIR}/git" | ||
34 | |||
35 | DEPENDS = "vspm-kernel-module" | ||
36 | do_configure[depends] += "vspm-kernel-module:do_shared_workdir" | ||
37 | |||
38 | MODULE_NAME = "vsp2" | ||
39 | INITSCRIPT_NAME = "vsp2drv" | ||
40 | INITSCRIPT_PARAMS = "start 8 5 2 . stop 61 0 1 6 ." | ||
41 | |||
42 | inherit renesas-module update-rc.d | ||
43 | |||
44 | do_compile_prepend() { | ||
45 | export VSP2_VSPMDIR=${STAGING_KERNEL_BUILDDIR}/include | ||
46 | export VSP2_VSPMSYMVERS=vspm.symvers | ||
47 | } | ||
48 | |||
49 | do_install_append() { | ||
50 | install -D -m 0755 ${WORKDIR}/vsp2drv-init ${D}/${sysconfdir}/init.d/vsp2drv | ||
51 | } | ||
52 | |||
53 | FILES_${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..168c037 --- /dev/null +++ b/meta-renesas-extras/recipes/vspm-module/vsp2-kernel-module.bbappend | |||
@@ -0,0 +1,22 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | FILESEXTRAPATHS_prepend := "${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..b08a589 --- /dev/null +++ b/meta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bb | |||
@@ -0,0 +1,55 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | LICENSE = "GPLv2 & MIT" | ||
23 | LIC_FILES_CHKSUM = "\ | ||
24 | file://drv/GPL-COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
25 | file://drv/MIT-COPYING;md5=fea016ce2bdf2ec10080f69e9381d378 \ | ||
26 | " | ||
27 | |||
28 | SRC_URI = "file://vspm-kernel.tar.bz2" | ||
29 | S = "${WORKDIR}/vspm" | ||
30 | |||
31 | inherit renesas-module | ||
32 | |||
33 | MODULE_NAME = "vspm" | ||
34 | MODULE_HEADERS = " \ | ||
35 | include/vspm_public.h \ | ||
36 | include/vsp_drv.h \ | ||
37 | include/tddmac_drv.h \ | ||
38 | include/vspm_if.h \ | ||
39 | " | ||
40 | |||
41 | VSPM_CFG_r8a7790 = "H2CONFIG" | ||
42 | VSPM_CFG_r8a7791 = "M2CONFIG" | ||
43 | VSPM_CFG_r8a7793 = "M2CONFIG" | ||
44 | VSPM_CFG_r8a7794 = "E2CONFIG" | ||
45 | |||
46 | do_compile_prepend() { | ||
47 | export VSPM_CONFIG=${VSPM_CFG} | ||
48 | } | ||
49 | |||
50 | do_install_append() { | ||
51 | # Copy for vspm-user-module | ||
52 | install -t ${STAGING_INCDIR} ${S}/include/vspm_if.h | ||
53 | } | ||
54 | |||
55 | FILES_${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..168c037 --- /dev/null +++ b/meta-renesas-extras/recipes/vspm-module/vspm-kernel-module.bbappend | |||
@@ -0,0 +1,22 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | FILESEXTRAPATHS_prepend := "${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..afd5a47 --- /dev/null +++ b/meta-renesas-extras/recipes/vspm-module/vspm-user-module.bbappend | |||
@@ -0,0 +1,22 @@ | |||
1 | ############################################################################## | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: http://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:COMM$ | ||
9 | ## | ||
10 | ## Commercial License Usage | ||
11 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
12 | ## accordance with the commercial license agreement provided with the | ||
13 | ## Software or, alternatively, in accordance with the terms contained in | ||
14 | ## a written agreement between you and The Qt Company. For licensing terms | ||
15 | ## and conditions see http://www.qt.io/terms-conditions. For further | ||
16 | ## information use the contact form at http://www.qt.io/contact-us. | ||
17 | ## | ||
18 | ## $QT_END_LICENSE$ | ||
19 | ## | ||
20 | ############################################################################## | ||
21 | |||
22 | do_compile[depends] += "vspm-kernel-module:do_shared_workdir" | ||