summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch
diff options
context:
space:
mode:
authorBruce Ashfield <bruce.ashfield@windriver.com>2015-01-30 14:20:49 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-08 08:00:30 +0000
commit40788020306e77d75d8a7d61b8d35d50cc034054 (patch)
tree3d4b1108cf75805faa5b09b0f18eb3faa461b634 /meta/recipes-kernel/lttng/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch
parent46b1b96324d9cef5b1d9664a5990d0e7b82c5302 (diff)
downloadpoky-40788020306e77d75d8a7d61b8d35d50cc034054.tar.gz
lttng: update to 2.6.0-stable
To fix build issues against the v3.19 kernel, we can safely update to the lttng 2.6 stable branches. This allows us to drop two backported patches that are already part of this update. (From OE-Core rev: 76668418a63d4c0618c63bd9d13970df35e736eb) 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/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch')
-rw-r--r--meta/recipes-kernel/lttng/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch35
1 files changed, 10 insertions, 25 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch b/meta/recipes-kernel/lttng/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch
index 30f825c414..bbfa38a0b5 100644
--- a/meta/recipes-kernel/lttng/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch
+++ b/meta/recipes-kernel/lttng/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch
@@ -8,11 +8,11 @@ it as-is.
8 8
9Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com> 9Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
10 10
11diff --git a/Makefile b/Makefile 11Index: git/Makefile
12index a9d1cb1..c1b65b9 100644 12===================================================================
13--- a/Makefile 13--- git.orig/Makefile
14+++ b/Makefile 14+++ git/Makefile
15@@ -43,19 +43,19 @@ obj-m += lib/ 15@@ -62,19 +62,19 @@ obj-m += lib/
16 endif # CONFIG_TRACEPOINTS 16 endif # CONFIG_TRACEPOINTS
17 17
18 else # KERNELRELEASE 18 else # KERNELRELEASE
@@ -37,26 +37,11 @@ index a9d1cb1..c1b65b9 100644
37- $(MAKE) -C $(KERNELDIR) M=$(PWD) $@ 37- $(MAKE) -C $(KERNELDIR) M=$(PWD) $@
38+ $(MAKE) -C $(KERNEL_SRC) M=$(PWD) $@ 38+ $(MAKE) -C $(KERNEL_SRC) M=$(PWD) $@
39 endif # KERNELRELEASE 39 endif # KERNELRELEASE
40diff --git a/README b/README 40Index: git/probes/Makefile
41index 8c5dd46..6bd3334 100644 41===================================================================
42--- a/README 42--- git.orig/probes/Makefile
43+++ b/README 43+++ git/probes/Makefile
44@@ -27,8 +27,8 @@ access to your full kernel source tree), and use: 44@@ -231,18 +231,18 @@ endif
45 If you need to specify the target directory to the kernel you want to build
46 against, use:
47
48-% KERNELDIR=path_to_kernel_dir make
49-# KERNELDIR=path_to_kernel_dir make modules_install
50+% KERNEL_SRC=path_to_kernel_dir make
51+# KERNEL_SRC=path_to_kernel_dir make modules_install
52 # depmod -a kernel_version
53
54 Use lttng-tools to control the tracer. LTTng tools should automatically load
55diff --git a/probes/Makefile b/probes/Makefile
56index 225803c..3449866 100644
57--- a/probes/Makefile
58+++ b/probes/Makefile
59@@ -212,18 +212,18 @@ endif
60 endif 45 endif
61 46
62 else 47 else