summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2015-05-12 12:02:46 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-06-28 09:44:13 +0100
commitcefb6645d78deed933b2284f3f00baf226199d9b (patch)
tree5fc111013608da4d564a3a3344c993c156371f72 /meta
parent1ee92bc5d5ff1d783c8073362aefd232ee7a2dbc (diff)
downloadpoky-cefb6645d78deed933b2284f3f00baf226199d9b.tar.gz
lttng-modules: Update to stable version 2.6.1
This fixes a build issue with the 3.19.5 kernel where the regmap prototypes have changed. The patch is rebased do to changes in the new version of the Makefile. [YOCTO #7737] (From OE-Core rev: 787fde133c6b50c5df6ce8f90b2906b7955b41e4) (From OE-Core rev: 2a355d2efb44a70571586bc5f6e500fa5d73db33) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-kernel/lttng/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch31
-rw-r--r--meta/recipes-kernel/lttng/lttng-modules_2.6.1.bb (renamed from meta/recipes-kernel/lttng/lttng-modules_2.6.0.bb)2
2 files changed, 19 insertions, 14 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 bbfa38a0b5..ccc6c54f81 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
@@ -7,41 +7,46 @@ build and install lttng-modules, we do this replacement for
7it as-is. 7it as-is.
8 8
9Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com> 9Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com>
10[sgw - rebased for 2.6.1]
11Signed-off-by: Saul wold <sgw@linux.intel.com>
10 12
11Index: git/Makefile 13Index: git/Makefile
12=================================================================== 14===================================================================
13--- git.orig/Makefile 15--- git.orig/Makefile
14+++ git/Makefile 16+++ git/Makefile
15@@ -62,19 +62,19 @@ obj-m += lib/ 17@@ -68,19 +68,19 @@ obj-m += lib/
16 endif # CONFIG_TRACEPOINTS 18 endif # CONFIG_TRACEPOINTS
17 19
18 else # KERNELRELEASE 20 else # KERNELRELEASE
19- KERNELDIR ?= /lib/modules/$(shell uname -r)/build 21- KERNELDIR ?= /lib/modules/$(shell uname -r)/build
22- PWD := $(shell pwd)
23- CFLAGS = $(EXTCFLAGS)
24-
20+ KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build 25+ KERNEL_SRC ?= /lib/modules/$(shell uname -r)/build
21 PWD := $(shell pwd) 26+ PWD := $(shell pwd)
22 CFLAGS = $(EXTCFLAGS) 27+ CFLAGS = $(EXTCFLAGS)
23 28+
24 default: 29 default:
25- $(MAKE) -C $(KERNELDIR) M=$(PWD) modules 30- LTTNG_KERNELDIR=$(KERNELDIR) $(MAKE) -C $(KERNELDIR) M=$(PWD) modules
26+ $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules 31+ LTTNG_KERNELDIR=$(KERNEL_SRC) $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules
27 32
28 modules_install: 33 modules_install:
29- $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install 34- LTTNG_KERNELDIR=$(KERNELDIR) $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install
30+ $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules_install 35+ LTTNG_KERNELDIR=$(KERNEL_SRC) $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules_install
31 36
32 clean: 37 clean:
33- $(MAKE) -C $(KERNELDIR) M=$(PWD) clean 38- LTTNG_KERNELDIR=$(KERNELDIR) $(MAKE) -C $(KERNELDIR) M=$(PWD) clean
34+ $(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean 39+ LTTNG_KERNELDIR=$(KERNEL_SRC) $(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean
35 40
36 %.i: %.c 41 %.i: %.c
37- $(MAKE) -C $(KERNELDIR) M=$(PWD) $@ 42- LTTNG_KERNELDIR=$(KERNELDIR) $(MAKE) -C $(KERNELDIR) M=$(PWD) $@
38+ $(MAKE) -C $(KERNEL_SRC) M=$(PWD) $@ 43+ LTTNG_KERNELDIR=$(KERNEL_SRC) $(MAKE) -C $(KERNEL_SRC) M=$(PWD) $@
39 endif # KERNELRELEASE 44 endif # KERNELRELEASE
40Index: git/probes/Makefile 45Index: git/probes/Makefile
41=================================================================== 46===================================================================
42--- git.orig/probes/Makefile 47--- git.orig/probes/Makefile
43+++ git/probes/Makefile 48+++ git/probes/Makefile
44@@ -231,18 +231,18 @@ endif 49@@ -267,18 +267,18 @@ endif
45 endif 50 endif
46 51
47 else 52 else
diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.6.0.bb b/meta/recipes-kernel/lttng/lttng-modules_2.6.1.bb
index 4cf01caa51..9c08e9ca2b 100644
--- a/meta/recipes-kernel/lttng/lttng-modules_2.6.0.bb
+++ b/meta/recipes-kernel/lttng/lttng-modules_2.6.1.bb
@@ -11,7 +11,7 @@ do_configure[depends] += "virtual/kernel:do_shared_workdir"
11 11
12inherit module 12inherit module
13 13
14SRCREV = "1b2a5429de815c95643df2eadf91253909708728" 14SRCREV = "62080b2248fd8ec4111ffc379d0bc5eaf0a5c16d"
15 15
16COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|arm).*-linux' 16COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|arm).*-linux'
17 17