summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2012-03-19 13:53:57 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-03-19 20:28:45 +0000
commitda0719704036b3a1292afeaa976b64e5e7390472 (patch)
tree9427ce703c3a68e026f2348039ae2547f559965a /meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb
parenta9873f12e5ba11e1307440901d07e9642e9f53bf (diff)
downloadpoky-da0719704036b3a1292afeaa976b64e5e7390472.tar.gz
lttng-modules: fix compliation error with 3.2.x -stable kernels
recent -stable kernels have their own fallback definition of is_compat_task #define is_compat_task() (0) To protect against this double definition of is_compat_task we can check to see if it is already defined, and skip the lttng variant. (From OE-Core rev: 53db58982b7af59d75fc11b73475e9d71e6927ac) Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb')
-rw-r--r--meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb b/meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb
index fa7bbec8d2..4c78f36ba0 100644
--- a/meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb
+++ b/meta/recipes-kernel/lttng-2.0/lttng-modules_2.0.pre11.bb
@@ -15,7 +15,8 @@ PV = "2.0.pre11+git${SRCREV}"
15PR = "r0" 15PR = "r0"
16 16
17SRC_URI = "git://git.lttng.org/lttng-modules.git;protocol=git \ 17SRC_URI = "git://git.lttng.org/lttng-modules.git;protocol=git \
18 file://lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch" 18 file://lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch \
19 file://lttng-sycalls-protect-is_compat_task-from-redefiniti.patch"
19 20
20export INSTALL_MOD_DIR="kernel/lttng-modules" 21export INSTALL_MOD_DIR="kernel/lttng-modules"
21export KERNEL_SRC="${STAGING_KERNEL_DIR}" 22export KERNEL_SRC="${STAGING_KERNEL_DIR}"