summaryrefslogtreecommitdiffstats
path: root/recipes-ti/ipc
diff options
context:
space:
mode:
authorDenys Dmytriyenko <denys@ti.com>2018-04-05 02:35:39 +0000
committerDenys Dmytriyenko <denys@ti.com>2018-04-04 21:42:46 -0400
commitef092ad32bca85ded85b6bdd150c50ffa7b2a00b (patch)
treea4315909ec40b858d326879a857b5ac1e583fbe3 /recipes-ti/ipc
parentcf757b862aa14511ba32b2fb95b4273b6143951a (diff)
downloadmeta-ti-ef092ad32bca85ded85b6bdd150c50ffa7b2a00b.tar.gz
ti-ipc: refresh local patch to avoid fuzz warnings
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-ti/ipc')
-rw-r--r--recipes-ti/ipc/ti-ipc/0001-Add-kernel-build-dir.patch24
1 files changed, 11 insertions, 13 deletions
diff --git a/recipes-ti/ipc/ti-ipc/0001-Add-kernel-build-dir.patch b/recipes-ti/ipc/ti-ipc/0001-Add-kernel-build-dir.patch
index cfa1b3b0..e612ddc1 100644
--- a/recipes-ti/ipc/ti-ipc/0001-Add-kernel-build-dir.patch
+++ b/recipes-ti/ipc/ti-ipc/0001-Add-kernel-build-dir.patch
@@ -1,4 +1,4 @@
1From f1e89940a3fbc0ffec51640f909f87419c08a17e Mon Sep 17 00:00:00 2001 1From 7d9f57983c6d14ac14f26987eddc555ea5c75d61 Mon Sep 17 00:00:00 2001
2From: Denys Dmytriyenko <denys@ti.com> 2From: Denys Dmytriyenko <denys@ti.com>
3Date: Mon, 27 Jul 2015 11:51:52 -0400 3Date: Mon, 27 Jul 2015 11:51:52 -0400
4Subject: [PATCH] Add kernel build dir 4Subject: [PATCH] Add kernel build dir
@@ -8,6 +8,7 @@ file ends up being in a separate directory from the rest of kernel headers.
8Use another variable to point to the kernel build artifacts. 8Use another variable to point to the kernel build artifacts.
9 9
10Signed-off-by: Denys Dmytriyenko <denys@ti.com> 10Signed-off-by: Denys Dmytriyenko <denys@ti.com>
11
11--- 12---
12 configure.ac | 6 ++++++ 13 configure.ac | 6 ++++++
13 ipc-linux.mak | 3 +++ 14 ipc-linux.mak | 3 +++
@@ -16,18 +17,18 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com>
16 4 files changed, 14 insertions(+), 1 deletion(-) 17 4 files changed, 14 insertions(+), 1 deletion(-)
17 18
18diff --git a/configure.ac b/configure.ac 19diff --git a/configure.ac b/configure.ac
19index e6cb19f..22f7db2 100644 20index f0b4b61..9b5d07c 100644
20--- a/configure.ac 21--- a/configure.ac
21+++ b/configure.ac 22+++ b/configure.ac
22@@ -70,6 +70,7 @@ AC_SUBST([AM_LDFLAGS]) 23@@ -71,6 +71,7 @@ AC_SUBST([AM_LDFLAGS])
23 AC_ARG_VAR(PLATFORM, Platform to build. Options are: 'OMAPL138' 'OMAP54XX' '66AK2E' 'TCI6630' 'TCI6636' 'TCI6638' and 'DRA7XX'. If not defined all platforms will be built.) 24 AC_ARG_VAR(PLATFORM, Platform to build. Options are: 'OMAPL138' 'OMAP54XX' '66AK2E' 'TCI6630' 'TCI6636' 'TCI6638' '66AK2G' and 'DRA7XX'. If not defined all platforms will be built.)
24 AC_ARG_VAR(CMEM_INSTALL_DIR, Installation path directory to the CMEM libraries) 25 AC_ARG_VAR(CMEM_INSTALL_DIR, Installation path directory to the CMEM libraries)
25 AC_ARG_VAR(KERNEL_INSTALL_DIR, Installation path to the Linux kernel.) 26 AC_ARG_VAR(KERNEL_INSTALL_DIR, Installation path to the Linux kernel.)
26+AC_ARG_VAR(KERNEL_BUILD_DIR, Path to the Linux kernel build artifacts.) 27+AC_ARG_VAR(KERNEL_BUILD_DIR, Path to the Linux kernel build artifacts.)
27 AC_ARG_VAR(AF_RPMSG, Address Family used by the RPMSG driver) 28 AC_ARG_VAR(AF_RPMSG, Address Family used by the RPMSG driver)
28 AC_ARG_VAR(DRM_PREFIX, Installation location to the DRM library.) 29 AC_ARG_VAR(DRM_PREFIX, Installation location to the DRM library.)
29 30
30@@ -108,6 +109,7 @@ AS_IF([test "x$PLATFORM" = "x"], [CMEM_INSTALL_DIR=]) 31@@ -111,6 +112,7 @@ AS_IF([test "x$PLATFORM" = "x"], [CMEM_INSTALL_DIR=])
31 AC_SUBST([PLATFORM]) 32 AC_SUBST([PLATFORM])
32 AC_SUBST([CMEM_INSTALL_DIR]) 33 AC_SUBST([CMEM_INSTALL_DIR])
33 AC_SUBST([KERNEL_INSTALL_DIR]) 34 AC_SUBST([KERNEL_INSTALL_DIR])
@@ -35,7 +36,7 @@ index e6cb19f..22f7db2 100644
35 AC_SUBST([AF_RPMSG]) 36 AC_SUBST([AF_RPMSG])
36 AC_SUBST([DRM_PREFIX]) 37 AC_SUBST([DRM_PREFIX])
37 38
38@@ -123,6 +125,7 @@ AM_CONDITIONAL([DRA7XX], [test "x$PLATFORM" = "xDRA7XX"]) 39@@ -127,6 +129,7 @@ AM_CONDITIONAL([DRA7XX], [test "x$PLATFORM" = "xDRA7XX"])
39 AM_CONDITIONAL([CMEM], [test "x$CMEM_INSTALL_DIR" != "x"]) 40 AM_CONDITIONAL([CMEM], [test "x$CMEM_INSTALL_DIR" != "x"])
40 AM_CONDITIONAL([KDIR], [test "x$KERNEL_INSTALL_DIR" != "x"]) 41 AM_CONDITIONAL([KDIR], [test "x$KERNEL_INSTALL_DIR" != "x"])
41 AM_CONDITIONAL([KERNEL_INSTALL_DIR], [test -n "$KERNEL_INSTALL_DIR"]) 42 AM_CONDITIONAL([KERNEL_INSTALL_DIR], [test -n "$KERNEL_INSTALL_DIR"])
@@ -43,7 +44,7 @@ index e6cb19f..22f7db2 100644
43 AM_CONDITIONAL([DRM], [test "x$DRM_PREFIX" != "x"]) 44 AM_CONDITIONAL([DRM], [test "x$DRM_PREFIX" != "x"])
44 AM_CONDITIONAL([AF_RPMSG], [test -n "$AF_RPMSG"]) 45 AM_CONDITIONAL([AF_RPMSG], [test -n "$AF_RPMSG"])
45 46
46@@ -153,6 +156,9 @@ You have configured to build for the '${PLATFORM}' platform 47@@ -157,6 +160,9 @@ You have configured to build for the '${PLATFORM}' platform
47 Your KERNEL installation directory is set to: 48 Your KERNEL installation directory is set to:
48 '${KERNEL_INSTALL_DIR}' 49 '${KERNEL_INSTALL_DIR}'
49 50
@@ -54,7 +55,7 @@ index e6cb19f..22f7db2 100644
54 '${DRM_PREFIX}' 55 '${DRM_PREFIX}'
55 56
56diff --git a/ipc-linux.mak b/ipc-linux.mak 57diff --git a/ipc-linux.mak b/ipc-linux.mak
57index 58a9cea..a174a9c 100644 58index 58a9cea..4e543ff 100644
58--- a/ipc-linux.mak 59--- a/ipc-linux.mak
59+++ b/ipc-linux.mak 60+++ b/ipc-linux.mak
60@@ -60,6 +60,7 @@ config: 61@@ -60,6 +60,7 @@ config:
@@ -81,7 +82,7 @@ index 58a9cea..a174a9c 100644
81 DRM_PREFIX=$(DRM_PREFIX) \ 82 DRM_PREFIX=$(DRM_PREFIX) \
82 AF_RPMSG=$(AF_RPMSG) 83 AF_RPMSG=$(AF_RPMSG)
83diff --git a/linux/src/mm/Makefile.am b/linux/src/mm/Makefile.am 84diff --git a/linux/src/mm/Makefile.am b/linux/src/mm/Makefile.am
84index 59aa312..436b432 100644 85index 59aa312..8fb51a3 100644
85--- a/linux/src/mm/Makefile.am 86--- a/linux/src/mm/Makefile.am
86+++ b/linux/src/mm/Makefile.am 87+++ b/linux/src/mm/Makefile.am
87@@ -32,7 +32,7 @@ 88@@ -32,7 +32,7 @@
@@ -94,7 +95,7 @@ index 59aa312..436b432 100644
94 ############################################################################### 95 ###############################################################################
95 # THE LIBRARIES TO BUILD 96 # THE LIBRARIES TO BUILD
96diff --git a/packages/ti/ipc/mm/MmRpc.c b/packages/ti/ipc/mm/MmRpc.c 97diff --git a/packages/ti/ipc/mm/MmRpc.c b/packages/ti/ipc/mm/MmRpc.c
97index 09d6b05..78adfa8 100644 98index 2df7420..797e100 100644
98--- a/packages/ti/ipc/mm/MmRpc.c 99--- a/packages/ti/ipc/mm/MmRpc.c
99+++ b/packages/ti/ipc/mm/MmRpc.c 100+++ b/packages/ti/ipc/mm/MmRpc.c
100@@ -56,7 +56,11 @@ 101@@ -56,7 +56,11 @@
@@ -109,6 +110,3 @@ index 09d6b05..78adfa8 100644
109 110
110 #if LINUX_VERSION_CODE < KERNEL_VERSION(3,14,0) 111 #if LINUX_VERSION_CODE < KERNEL_VERSION(3,14,0)
111 #define linux_include(kd,m) <kd/include/linux/m.h> 112 #define linux_include(kd,m) <kd/include/linux/m.h>
112--
1132.2.0
114