diff options
Diffstat (limited to 'meta-vib3-extras')
10 files changed, 0 insertions, 530 deletions
diff --git a/meta-vib3-extras/conf/layer.conf b/meta-vib3-extras/conf/layer.conf deleted file mode 100644 index 1a2dadb..0000000 --- a/meta-vib3-extras/conf/layer.conf +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | # We have a conf and classes directory, append to BBPATH | ||
31 | BBPATH .= ":${LAYERDIR}" | ||
32 | |||
33 | # We have a recipes directory, add to BBFILES | ||
34 | BBFILES += "${LAYERDIR}/recipes*/*/*.bb \ | ||
35 | ${LAYERDIR}/recipes*/*/*.bbappend \ | ||
36 | " | ||
37 | |||
38 | BBFILE_COLLECTIONS += "b2qt_vib3" | ||
39 | BBFILE_PATTERN_b2qt_vib3 := "^${LAYERDIR}/" | ||
40 | BBFILE_PRIORITY_b2qt_vib3 = "20" | ||
diff --git a/meta-vib3-extras/recipes/graphics-fw/graphics-fw_1.0.bbappend b/meta-vib3-extras/recipes/graphics-fw/graphics-fw_1.0.bbappend deleted file mode 100644 index 30e2acc..0000000 --- a/meta-vib3-extras/recipes/graphics-fw/graphics-fw_1.0.bbappend +++ /dev/null | |||
@@ -1,34 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | SRC_URI_remove = " \ | ||
31 | file://${PLATFORM_TOPDIR}/lib-target/NETB_img.bin \ | ||
32 | file://${PLATFORM_TOPDIR}/lib-target/nvhost_msenc031.fw \ | ||
33 | file://${PLATFORM_TOPDIR}/lib-target/vic03_ucode.bin \ | ||
34 | " | ||
diff --git a/meta-vib3-extras/recipes/linux-libc-headers/linux-libc-headers_4.%.bbappend b/meta-vib3-extras/recipes/linux-libc-headers/linux-libc-headers_4.%.bbappend deleted file mode 100644 index 661e595..0000000 --- a/meta-vib3-extras/recipes/linux-libc-headers/linux-libc-headers_4.%.bbappend +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | |||
2 | # Use our kernel instead of yocto which defaults to mainline 3.10. | ||
3 | # Commit id of our kernel's include/uapi directory in kernel tree - | ||
4 | # 8c37e1bfe7dd26a9d4cf4510460a75264c906444 | ||
5 | SRC_URI = "file://${KERN_DIR}/linux.tar.bz2" | ||
6 | |||
7 | # Extracting linux.tar.bz2 creates directories | ||
8 | # <top>/vibrante-oss-src/kernel | ||
9 | S = "${WORKDIR}/vibrante-oss-src/kernel" | ||
10 | |||
11 | FILESEXTRAPATHS_prepend := "${THISDIR}/../linux/linux-nvidia:" | ||
12 | SRC_URI += "\ | ||
13 | file://0001-Btrfs-add-ioctl-to-wait-for-qgroup-rescan-completion.patch \ | ||
14 | " | ||
diff --git a/meta-vib3-extras/recipes/linux/linux-nvidia/0001-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch b/meta-vib3-extras/recipes/linux/linux-nvidia/0001-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch deleted file mode 100644 index ee61a74..0000000 --- a/meta-vib3-extras/recipes/linux/linux-nvidia/0001-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch +++ /dev/null | |||
@@ -1,52 +0,0 @@ | |||
1 | From ef372125fd64fc181869be4cf528488f9e8b46c2 Mon Sep 17 00:00:00 2001 | ||
2 | From: Behan Webster <behanw@converseincode.com> | ||
3 | Date: Wed, 24 Sep 2014 01:06:46 +0100 | ||
4 | Subject: [PATCH] ARM: 8158/1: LLVMLinux: use static inline in ARM ftrace.h | ||
5 | |||
6 | With compilers which follow the C99 standard (like modern versions of gcc and | ||
7 | clang), "extern inline" does the wrong thing (emits code for an externally | ||
8 | linkable version of the inline function). In this case using static inline | ||
9 | and removing the NULL version of return_address in return_address.c does | ||
10 | the right thing. | ||
11 | |||
12 | Signed-off-by: Behan Webster <behanw@converseincode.com> | ||
13 | Reviewed-by: Mark Charlebois <charlebm@gmail.com> | ||
14 | Acked-by: Steven Rostedt <rostedt@goodmis.org> | ||
15 | Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> | ||
16 | --- | ||
17 | arch/arm/include/asm/ftrace.h | 2 +- | ||
18 | arch/arm/kernel/return_address.c | 5 ----- | ||
19 | 2 files changed, 1 insertion(+), 6 deletions(-) | ||
20 | |||
21 | diff --git a/arch/arm/include/asm/ftrace.h b/arch/arm/include/asm/ftrace.h | ||
22 | index f89515a..2bb8cac 100644 | ||
23 | --- a/arch/arm/include/asm/ftrace.h | ||
24 | +++ b/arch/arm/include/asm/ftrace.h | ||
25 | @@ -45,7 +45,7 @@ void *return_address(unsigned int); | ||
26 | |||
27 | #else | ||
28 | |||
29 | -extern inline void *return_address(unsigned int level) | ||
30 | +static inline void *return_address(unsigned int level) | ||
31 | { | ||
32 | return NULL; | ||
33 | } | ||
34 | diff --git a/arch/arm/kernel/return_address.c b/arch/arm/kernel/return_address.c | ||
35 | index fafedd8..f6aa84d 100644 | ||
36 | --- a/arch/arm/kernel/return_address.c | ||
37 | +++ b/arch/arm/kernel/return_address.c | ||
38 | @@ -63,11 +63,6 @@ void *return_address(unsigned int level) | ||
39 | #warning "TODO: return_address should use unwind tables" | ||
40 | #endif | ||
41 | |||
42 | -void *return_address(unsigned int level) | ||
43 | -{ | ||
44 | - return NULL; | ||
45 | -} | ||
46 | - | ||
47 | #endif /* if defined(CONFIG_FRAME_POINTER) && !defined(CONFIG_ARM_UNWIND) / else */ | ||
48 | |||
49 | EXPORT_SYMBOL_GPL(return_address); | ||
50 | -- | ||
51 | 1.9.1 | ||
52 | |||
diff --git a/meta-vib3-extras/recipes/linux/linux-nvidia/0001-Btrfs-add-ioctl-to-wait-for-qgroup-rescan-completion.patch b/meta-vib3-extras/recipes/linux/linux-nvidia/0001-Btrfs-add-ioctl-to-wait-for-qgroup-rescan-completion.patch deleted file mode 100644 index b495d39..0000000 --- a/meta-vib3-extras/recipes/linux/linux-nvidia/0001-Btrfs-add-ioctl-to-wait-for-qgroup-rescan-completion.patch +++ /dev/null | |||
@@ -1,124 +0,0 @@ | |||
1 | From 57254b6ebce4ceca02d9c8b615f6059c56c19238 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jan Schmidt <list.btrfs@jan-o-sch.net> | ||
3 | Date: Mon, 6 May 2013 19:14:17 +0000 | ||
4 | Subject: [PATCH] Btrfs: add ioctl to wait for qgroup rescan completion | ||
5 | |||
6 | btrfs_qgroup_wait_for_completion waits until the currently running qgroup | ||
7 | operation completes. It returns immediately when no rescan process is in | ||
8 | progress. This is useful to automate things around the rescan process (e.g. | ||
9 | testing). | ||
10 | |||
11 | Signed-off-by: Jan Schmidt <list.btrfs@jan-o-sch.net> | ||
12 | Signed-off-by: Josef Bacik <jbacik@fusionio.com> | ||
13 | --- | ||
14 | fs/btrfs/ctree.h | 2 ++ | ||
15 | fs/btrfs/ioctl.c | 12 ++++++++++++ | ||
16 | fs/btrfs/qgroup.c | 21 +++++++++++++++++++++ | ||
17 | include/uapi/linux/btrfs.h | 1 + | ||
18 | 4 files changed, 36 insertions(+) | ||
19 | |||
20 | diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h | ||
21 | index a365400..e36e97b 100644 | ||
22 | --- a/fs/btrfs/ctree.h | ||
23 | +++ b/fs/btrfs/ctree.h | ||
24 | @@ -1613,6 +1613,7 @@ struct btrfs_fs_info { | ||
25 | struct mutex qgroup_rescan_lock; /* protects the progress item */ | ||
26 | struct btrfs_key qgroup_rescan_progress; | ||
27 | struct btrfs_workers qgroup_rescan_workers; | ||
28 | + struct completion qgroup_rescan_completion; | ||
29 | |||
30 | /* filesystem state */ | ||
31 | unsigned long fs_state; | ||
32 | @@ -3820,6 +3821,7 @@ int btrfs_quota_enable(struct btrfs_trans_handle *trans, | ||
33 | int btrfs_quota_disable(struct btrfs_trans_handle *trans, | ||
34 | struct btrfs_fs_info *fs_info); | ||
35 | int btrfs_qgroup_rescan(struct btrfs_fs_info *fs_info); | ||
36 | +int btrfs_qgroup_wait_for_completion(struct btrfs_fs_info *fs_info); | ||
37 | int btrfs_add_qgroup_relation(struct btrfs_trans_handle *trans, | ||
38 | struct btrfs_fs_info *fs_info, u64 src, u64 dst); | ||
39 | int btrfs_del_qgroup_relation(struct btrfs_trans_handle *trans, | ||
40 | diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c | ||
41 | index 0f81d67..1e0dda1 100644 | ||
42 | --- a/fs/btrfs/ioctl.c | ||
43 | +++ b/fs/btrfs/ioctl.c | ||
44 | @@ -3937,6 +3937,16 @@ static long btrfs_ioctl_quota_rescan_status(struct file *file, void __user *arg) | ||
45 | return ret; | ||
46 | } | ||
47 | |||
48 | +static long btrfs_ioctl_quota_rescan_wait(struct file *file, void __user *arg) | ||
49 | +{ | ||
50 | + struct btrfs_root *root = BTRFS_I(fdentry(file)->d_inode)->root; | ||
51 | + | ||
52 | + if (!capable(CAP_SYS_ADMIN)) | ||
53 | + return -EPERM; | ||
54 | + | ||
55 | + return btrfs_qgroup_wait_for_completion(root->fs_info); | ||
56 | +} | ||
57 | + | ||
58 | static long btrfs_ioctl_set_received_subvol(struct file *file, | ||
59 | void __user *arg) | ||
60 | { | ||
61 | @@ -4179,6 +4189,8 @@ long btrfs_ioctl(struct file *file, unsigned int | ||
62 | return btrfs_ioctl_quota_rescan(file, argp); | ||
63 | case BTRFS_IOC_QUOTA_RESCAN_STATUS: | ||
64 | return btrfs_ioctl_quota_rescan_status(file, argp); | ||
65 | + case BTRFS_IOC_QUOTA_RESCAN_WAIT: | ||
66 | + return btrfs_ioctl_quota_rescan_wait(file, argp); | ||
67 | case BTRFS_IOC_DEV_REPLACE: | ||
68 | return btrfs_ioctl_dev_replace(root, argp); | ||
69 | case BTRFS_IOC_GET_FSLABEL: | ||
70 | diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c | ||
71 | index 7f38cce..d059d86 100644 | ||
72 | --- a/fs/btrfs/qgroup.c | ||
73 | +++ b/fs/btrfs/qgroup.c | ||
74 | @@ -2070,6 +2070,8 @@ out: | ||
75 | } else { | ||
76 | pr_err("btrfs: qgroup scan failed with %d\n", err); | ||
77 | } | ||
78 | + | ||
79 | + complete_all(&fs_info->qgroup_rescan_completion); | ||
80 | } | ||
81 | |||
82 | static void | ||
83 | @@ -2110,6 +2112,7 @@ btrfs_qgroup_rescan(struct btrfs_fs_info *fs_info) | ||
84 | fs_info->qgroup_flags |= BTRFS_QGROUP_STATUS_FLAG_RESCAN; | ||
85 | memset(&fs_info->qgroup_rescan_progress, 0, | ||
86 | sizeof(fs_info->qgroup_rescan_progress)); | ||
87 | + init_completion(&fs_info->qgroup_rescan_completion); | ||
88 | |||
89 | /* clear all current qgroup tracking information */ | ||
90 | for (n = rb_first(&fs_info->qgroup_tree); n; n = rb_next(n)) { | ||
91 | @@ -2126,3 +2129,21 @@ btrfs_qgroup_rescan(struct btrfs_fs_info *fs_info) | ||
92 | |||
93 | return 0; | ||
94 | } | ||
95 | + | ||
96 | +int btrfs_qgroup_wait_for_completion(struct btrfs_fs_info *fs_info) | ||
97 | +{ | ||
98 | + int running; | ||
99 | + int ret = 0; | ||
100 | + | ||
101 | + mutex_lock(&fs_info->qgroup_rescan_lock); | ||
102 | + spin_lock(&fs_info->qgroup_lock); | ||
103 | + running = fs_info->qgroup_flags & BTRFS_QGROUP_STATUS_FLAG_RESCAN; | ||
104 | + spin_unlock(&fs_info->qgroup_lock); | ||
105 | + mutex_unlock(&fs_info->qgroup_rescan_lock); | ||
106 | + | ||
107 | + if (running) | ||
108 | + ret = wait_for_completion_interruptible( | ||
109 | + &fs_info->qgroup_rescan_completion); | ||
110 | + | ||
111 | + return ret; | ||
112 | +} | ||
113 | diff --git a/include/uapi/linux/btrfs.h b/include/uapi/linux/btrfs.h | ||
114 | index 5ef0df5..5b683b5 100644 | ||
115 | --- a/include/uapi/linux/btrfs.h | ||
116 | +++ b/include/uapi/linux/btrfs.h | ||
117 | @@ -530,6 +530,7 @@ struct btrfs_ioctl_send_args { | ||
118 | struct btrfs_ioctl_quota_rescan_args) | ||
119 | #define BTRFS_IOC_QUOTA_RESCAN_STATUS _IOR(BTRFS_IOCTL_MAGIC, 45, \ | ||
120 | struct btrfs_ioctl_quota_rescan_args) | ||
121 | +#define BTRFS_IOC_QUOTA_RESCAN_WAIT _IO(BTRFS_IOCTL_MAGIC, 46) | ||
122 | #define BTRFS_IOC_GET_FSLABEL _IOR(BTRFS_IOCTL_MAGIC, 49, \ | ||
123 | char[BTRFS_LABEL_SIZE]) | ||
124 | #define BTRFS_IOC_SET_FSLABEL _IOW(BTRFS_IOCTL_MAGIC, 50, \ | ||
diff --git a/meta-vib3-extras/recipes/linux/linux-nvidia/0001-Change-extern-inline-to-static-inline.patch b/meta-vib3-extras/recipes/linux/linux-nvidia/0001-Change-extern-inline-to-static-inline.patch deleted file mode 100644 index 66f031f..0000000 --- a/meta-vib3-extras/recipes/linux/linux-nvidia/0001-Change-extern-inline-to-static-inline.patch +++ /dev/null | |||
@@ -1,133 +0,0 @@ | |||
1 | From 0873625fb43dda5a54919b7414f235cdfdd98ddc Mon Sep 17 00:00:00 2001 | ||
2 | From: Samuli Piippo <samuli.piippo@theqtcompany.com> | ||
3 | Date: Wed, 13 Apr 2016 15:42:49 +0300 | ||
4 | Subject: [PATCH] Change "extern inline" to "static inline" | ||
5 | |||
6 | With compilers which follow the C99 standard (like modern versions of gcc and | ||
7 | clang), "extern inline" does the wrong thing (emits code for an externally | ||
8 | linkable version of the inline function). "static inline" is the correct choice | ||
9 | instead. | ||
10 | --- | ||
11 | drivers/staging/rtl8192u/ieee80211/ieee80211.h | 10 +++++----- | ||
12 | drivers/staging/rtl8712/ieee80211.h | 4 ++-- | ||
13 | lib/mpi/mpi-inline.h | 2 +- | ||
14 | lib/mpi/mpi-internal.h | 16 ++++++++-------- | ||
15 | 4 files changed, 16 insertions(+), 16 deletions(-) | ||
16 | |||
17 | diff --git a/drivers/staging/rtl8192u/ieee80211/ieee80211.h b/drivers/staging/rtl8192u/ieee80211/ieee80211.h | ||
18 | index 502bfdb..1c8d026 100644 | ||
19 | --- a/drivers/staging/rtl8192u/ieee80211/ieee80211.h | ||
20 | +++ b/drivers/staging/rtl8192u/ieee80211/ieee80211.h | ||
21 | @@ -2254,7 +2254,7 @@ static inline void *ieee80211_priv(struct net_device *dev) | ||
22 | return ((struct ieee80211_device *)netdev_priv(dev))->priv; | ||
23 | } | ||
24 | |||
25 | -extern inline int ieee80211_is_empty_essid(const char *essid, int essid_len) | ||
26 | +static inline int ieee80211_is_empty_essid(const char *essid, int essid_len) | ||
27 | { | ||
28 | /* Single white space is for Linksys APs */ | ||
29 | if (essid_len == 1 && essid[0] == ' ') | ||
30 | @@ -2270,7 +2270,7 @@ extern inline int ieee80211_is_empty_essid(const char *essid, int essid_len) | ||
31 | return 1; | ||
32 | } | ||
33 | |||
34 | -extern inline int ieee80211_is_valid_mode(struct ieee80211_device *ieee, int mode) | ||
35 | +static inline int ieee80211_is_valid_mode(struct ieee80211_device *ieee, int mode) | ||
36 | { | ||
37 | /* | ||
38 | * It is possible for both access points and our device to support | ||
39 | @@ -2296,7 +2296,7 @@ extern inline int ieee80211_is_valid_mode(struct ieee80211_device *ieee, int mod | ||
40 | return 0; | ||
41 | } | ||
42 | |||
43 | -extern inline int ieee80211_get_hdrlen(u16 fc) | ||
44 | +static inline int ieee80211_get_hdrlen(u16 fc) | ||
45 | { | ||
46 | int hdrlen = IEEE80211_3ADDR_LEN; | ||
47 | |||
48 | @@ -2582,12 +2582,12 @@ void ieee80211_softmac_scan_syncro(struct ieee80211_device *ieee); | ||
49 | |||
50 | extern const long ieee80211_wlan_frequencies[]; | ||
51 | |||
52 | -extern inline void ieee80211_increment_scans(struct ieee80211_device *ieee) | ||
53 | +static inline void ieee80211_increment_scans(struct ieee80211_device *ieee) | ||
54 | { | ||
55 | ieee->scans++; | ||
56 | } | ||
57 | |||
58 | -extern inline int ieee80211_get_scans(struct ieee80211_device *ieee) | ||
59 | +static inline int ieee80211_get_scans(struct ieee80211_device *ieee) | ||
60 | { | ||
61 | return ieee->scans; | ||
62 | } | ||
63 | diff --git a/drivers/staging/rtl8712/ieee80211.h b/drivers/staging/rtl8712/ieee80211.h | ||
64 | index 21515c3..7518061 100644 | ||
65 | --- a/drivers/staging/rtl8712/ieee80211.h | ||
66 | +++ b/drivers/staging/rtl8712/ieee80211.h | ||
67 | @@ -734,7 +734,7 @@ enum ieee80211_state { | ||
68 | #define IEEE_G (1<<2) | ||
69 | #define IEEE_MODE_MASK (IEEE_A|IEEE_B|IEEE_G) | ||
70 | |||
71 | -extern inline int ieee80211_is_empty_essid(const char *essid, int essid_len) | ||
72 | +static inline int ieee80211_is_empty_essid(const char *essid, int essid_len) | ||
73 | { | ||
74 | /* Single white space is for Linksys APs */ | ||
75 | if (essid_len == 1 && essid[0] == ' ') | ||
76 | @@ -748,7 +748,7 @@ extern inline int ieee80211_is_empty_essid(const char *essid, int essid_len) | ||
77 | return 1; | ||
78 | } | ||
79 | |||
80 | -extern inline int ieee80211_get_hdrlen(u16 fc) | ||
81 | +static inline int ieee80211_get_hdrlen(u16 fc) | ||
82 | { | ||
83 | int hdrlen = 24; | ||
84 | |||
85 | diff --git a/lib/mpi/mpi-inline.h b/lib/mpi/mpi-inline.h | ||
86 | index e2b3985..c245ea3 100644 | ||
87 | --- a/lib/mpi/mpi-inline.h | ||
88 | +++ b/lib/mpi/mpi-inline.h | ||
89 | @@ -30,7 +30,7 @@ | ||
90 | #define G10_MPI_INLINE_H | ||
91 | |||
92 | #ifndef G10_MPI_INLINE_DECL | ||
93 | -#define G10_MPI_INLINE_DECL extern inline | ||
94 | +#define G10_MPI_INLINE_DECL static inline | ||
95 | #endif | ||
96 | |||
97 | G10_MPI_INLINE_DECL mpi_limb_t | ||
98 | diff --git a/lib/mpi/mpi-internal.h b/lib/mpi/mpi-internal.h | ||
99 | index 77adcf6..4566d11 100644 | ||
100 | --- a/lib/mpi/mpi-internal.h | ||
101 | +++ b/lib/mpi/mpi-internal.h | ||
102 | @@ -172,20 +172,20 @@ void mpi_rshift_limbs(MPI a, unsigned int count); | ||
103 | int mpi_lshift_limbs(MPI a, unsigned int count); | ||
104 | |||
105 | /*-- mpihelp-add.c --*/ | ||
106 | -mpi_limb_t mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, | ||
107 | - mpi_size_t s1_size, mpi_limb_t s2_limb); | ||
108 | +//mpi_limb_t mpihelp_add_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, | ||
109 | +// mpi_size_t s1_size, mpi_limb_t s2_limb); | ||
110 | mpi_limb_t mpihelp_add_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, | ||
111 | mpi_ptr_t s2_ptr, mpi_size_t size); | ||
112 | -mpi_limb_t mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, | ||
113 | - mpi_ptr_t s2_ptr, mpi_size_t s2_size); | ||
114 | +//mpi_limb_t mpihelp_add(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, | ||
115 | +// mpi_ptr_t s2_ptr, mpi_size_t s2_size); | ||
116 | |||
117 | /*-- mpihelp-sub.c --*/ | ||
118 | -mpi_limb_t mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, | ||
119 | - mpi_size_t s1_size, mpi_limb_t s2_limb); | ||
120 | +//mpi_limb_t mpihelp_sub_1(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, | ||
121 | +// mpi_size_t s1_size, mpi_limb_t s2_limb); | ||
122 | mpi_limb_t mpihelp_sub_n(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, | ||
123 | mpi_ptr_t s2_ptr, mpi_size_t size); | ||
124 | -mpi_limb_t mpihelp_sub(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, | ||
125 | - mpi_ptr_t s2_ptr, mpi_size_t s2_size); | ||
126 | +//mpi_limb_t mpihelp_sub(mpi_ptr_t res_ptr, mpi_ptr_t s1_ptr, mpi_size_t s1_size, | ||
127 | +// mpi_ptr_t s2_ptr, mpi_size_t s2_size); | ||
128 | |||
129 | /*-- mpihelp-cmp.c --*/ | ||
130 | int mpihelp_cmp(mpi_ptr_t op1_ptr, mpi_ptr_t op2_ptr, mpi_size_t size); | ||
131 | -- | ||
132 | 1.9.1 | ||
133 | |||
diff --git a/meta-vib3-extras/recipes/linux/linux-nvidia/Fix_compile_error_in_tegra_drivers.patch b/meta-vib3-extras/recipes/linux/linux-nvidia/Fix_compile_error_in_tegra_drivers.patch deleted file mode 100644 index 8bbc38b..0000000 --- a/meta-vib3-extras/recipes/linux/linux-nvidia/Fix_compile_error_in_tegra_drivers.patch +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | --- a/drivers/platform/tegra/tegra_cl_dvfs.c 2016-04-19 13:05:46.897056724 +0300 | ||
2 | +++ b/drivers/platform/tegra/tegra_cl_dvfs.c 2016-04-19 12:55:28.053751626 +0300 | ||
3 | @@ -1021,7 +1021,7 @@ | ||
4 | |||
5 | static void cl_dvfs_calibrate(struct tegra_cl_dvfs *cld) | ||
6 | { | ||
7 | - u32 val, data; | ||
8 | + u32 val=0, data=0; | ||
9 | ktime_t now; | ||
10 | unsigned long rate; | ||
11 | unsigned long step = RATE_STEP(cld); | ||
12 | @@ -3303,7 +3303,7 @@ | ||
13 | |||
14 | static int monitor_get(void *data, u64 *val) | ||
15 | { | ||
16 | - u32 v, s; | ||
17 | + u32 v=0, s=0; | ||
18 | unsigned long flags; | ||
19 | struct clk *c = (struct clk *)data; | ||
20 | struct tegra_cl_dvfs *cld = ((struct clk *)data)->u.dfll.cl_dvfs; | ||
diff --git a/meta-vib3-extras/recipes/linux/linux-nvidia/Fix_compiler_error_in_tegra12_lock.patch b/meta-vib3-extras/recipes/linux/linux-nvidia/Fix_compiler_error_in_tegra12_lock.patch deleted file mode 100644 index fc8fe9f..0000000 --- a/meta-vib3-extras/recipes/linux/linux-nvidia/Fix_compiler_error_in_tegra12_lock.patch +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | --- a/drivers/platform/tegra/tegra12_clocks.c 2016-04-19 13:51:34.912235128 +0300 | ||
2 | +++ b/drivers/platform/tegra/tegra12_clocks.c 2016-04-19 13:51:55.739478254 +0300 | ||
3 | @@ -1331,7 +1331,7 @@ | ||
4 | */ | ||
5 | static void tegra12_cpu_clk_init(struct clk *c) | ||
6 | { | ||
7 | - c->state = (!is_lp_cluster() == (c->u.cpu.mode == MODE_G))? ON : OFF; | ||
8 | + c->state = ((!is_lp_cluster()) == (c->u.cpu.mode == MODE_G))? ON : OFF; | ||
9 | } | ||
10 | |||
11 | static int tegra12_cpu_clk_enable(struct clk *c) | ||
diff --git a/meta-vib3-extras/recipes/linux/linux-nvidia_3.10.bbappend b/meta-vib3-extras/recipes/linux/linux-nvidia_3.10.bbappend deleted file mode 100644 index ee2d5ba..0000000 --- a/meta-vib3-extras/recipes/linux/linux-nvidia_3.10.bbappend +++ /dev/null | |||
@@ -1,71 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | FILESEXTRAPATHS_prepend := "__default:${THISDIR}/${PN}:" | ||
31 | |||
32 | DEPENDS_remove = "external-tegra-toolchain" | ||
33 | do_kernel_defconfig[depends] = "kern-tools-native:do_populate_sysroot" | ||
34 | |||
35 | SRC_URI += "\ | ||
36 | file://0001-ARM-8158-1-LLVMLinux-use-static-inline-in-ARM-ftrace.patch \ | ||
37 | file://0001-Change-extern-inline-to-static-inline.patch \ | ||
38 | file://Fix_compile_error_in_tegra_drivers.patch \ | ||
39 | file://Fix_compiler_error_in_tegra12_lock.patch \ | ||
40 | file://0001-Btrfs-add-ioctl-to-wait-for-qgroup-rescan-completion.patch \ | ||
41 | " | ||
42 | |||
43 | do_unpack_append() { | ||
44 | rm -rf ${STAGING_KERNEL_DIR} | ||
45 | ln -s ${S} ${STAGING_KERNEL_DIR} | ||
46 | } | ||
47 | |||
48 | do_compile_prepend () { | ||
49 | # Cross compiling exports | ||
50 | export ARCH=${TARGET_ARCH} | ||
51 | export CROSS_COMPILE=${CROSS_COMPILE} | ||
52 | |||
53 | echo "CONFIG_FHANDLE=y" >> ${B}/.config | ||
54 | make olddefconfig | ||
55 | } | ||
56 | |||
57 | do_install_append() { | ||
58 | s=$(readlink -m "${S}") | ||
59 | kernsrc="${STAGING_KERNEL_DIR}" | ||
60 | |||
61 | if [ "${s}" != "${kernsrc}" ]; then | ||
62 | mkdir -p "${kernsrc}" | ||
63 | rm -rf "${kernsrc}" | ||
64 | mv "${S}" "${STAGING_KERNEL_DIR}" | ||
65 | ln -sf "${kernsrc}" "${s}" | ||
66 | fi | ||
67 | } | ||
68 | |||
69 | python do_patch () { | ||
70 | bb.build.exec_func('patch_do_patch', d) | ||
71 | } | ||
diff --git a/meta-vib3-extras/recipes/qt5/qtbase_git.bbappend b/meta-vib3-extras/recipes/qt5/qtbase_git.bbappend deleted file mode 100644 index 4abb469..0000000 --- a/meta-vib3-extras/recipes/qt5/qtbase_git.bbappend +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | ############################################################################ | ||
2 | ## | ||
3 | ## Copyright (C) 2016 The Qt Company Ltd. | ||
4 | ## Contact: https://www.qt.io/licensing/ | ||
5 | ## | ||
6 | ## This file is part of the Boot to Qt meta layer. | ||
7 | ## | ||
8 | ## $QT_BEGIN_LICENSE:GPL$ | ||
9 | ## Commercial License Usage | ||
10 | ## Licensees holding valid commercial Qt licenses may use this file in | ||
11 | ## accordance with the commercial license agreement provided with the | ||
12 | ## Software or, alternatively, in accordance with the terms contained in | ||
13 | ## a written agreement between you and The Qt Company. For licensing terms | ||
14 | ## and conditions see https://www.qt.io/terms-conditions. For further | ||
15 | ## information use the contact form at https://www.qt.io/contact-us. | ||
16 | ## | ||
17 | ## GNU General Public License Usage | ||
18 | ## Alternatively, this file may be used under the terms of the GNU | ||
19 | ## General Public License version 3 or (at your option) any later version | ||
20 | ## approved by the KDE Free Qt Foundation. The licenses are as published by | ||
21 | ## the Free Software Foundation and appearing in the file LICENSE.GPL3 | ||
22 | ## included in the packaging of this file. Please review the following | ||
23 | ## information to ensure the GNU General Public License requirements will | ||
24 | ## be met: https://www.gnu.org/licenses/gpl-3.0.html. | ||
25 | ## | ||
26 | ## $QT_END_LICENSE$ | ||
27 | ## | ||
28 | ############################################################################ | ||
29 | |||
30 | DEPENDS += "graphics-headers" | ||
31 | PACKAGECONFIG += "kms" | ||