diff options
author | Tom Zanussi <tom.zanussi@intel.com> | 2013-01-11 17:28:48 -0600 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-01-16 11:57:32 +0000 |
commit | 14363c30ce103f3116d687fd279cb671c6337f9a (patch) | |
tree | 9f9100de73eb034016950159acfd8eb40312449c /meta/recipes-kernel/lttng/lttng-modules | |
parent | 44a485f7a6eff41523a1a37526021c01ec75daef (diff) | |
download | poky-14363c30ce103f3116d687fd279cb671c6337f9a.tar.gz |
recipes-kernel/lttng-2.0: rename to recipes-kernel/lttng
recipes-kernel/lttng was removed by a previous patch, which also
removed the naming conflict that caused the lttng-2.0 version of lttng
to be named recipes-kernel/lttng-2.0. Since the naming conflict has
disappeared, we can go back to the simpler naming.
(From OE-Core rev: 2027fd1bbfc2c136672d5054ba722e9d9d80451d)
Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-modules')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch | 41 |
1 files changed, 41 insertions, 0 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 new file mode 100644 index 0000000000..aa24171f31 --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-modules/lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch | |||
@@ -0,0 +1,41 @@ | |||
1 | Upstream-Status: Inappropriate [embedded specific] | ||
2 | |||
3 | lttng-modules: replace KERNELDIR with KERNEL_SRC | ||
4 | |||
5 | Since lttng-modules uses the default way of module.bbclass to | ||
6 | build and install lttng-modules, we do this replacement for | ||
7 | it as-is. | ||
8 | |||
9 | Signed-off-by: Zumeng Chen <zumeng.chen@windriver.com> | ||
10 | --- | ||
11 | Makefile | 7 +++---- | ||
12 | 1 files changed, 3 insertions(+), 4 deletions(-) | ||
13 | |||
14 | diff --git a/Makefile b/Makefile | ||
15 | index 5ac13d7..25caad5 100644 | ||
16 | --- a/Makefile | ||
17 | +++ b/Makefile | ||
18 | @@ -38,17 +38,16 @@ obj-m += lib/ | ||
19 | endif | ||
20 | |||
21 | else | ||
22 | - KERNELDIR ?= /lib/modules/$(shell uname -r)/build | ||
23 | PWD := $(shell pwd) | ||
24 | CFLAGS = $(EXTCFLAGS) | ||
25 | |||
26 | default: | ||
27 | - $(MAKE) -C $(KERNELDIR) M=$(PWD) modules | ||
28 | + $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules | ||
29 | |||
30 | modules_install: | ||
31 | - $(MAKE) -C $(KERNELDIR) M=$(PWD) modules_install | ||
32 | + $(MAKE) -C $(KERNEL_SRC) M=$(PWD) modules_install | ||
33 | |||
34 | clean: | ||
35 | - $(MAKE) -C $(KERNELDIR) M=$(PWD) clean | ||
36 | + $(MAKE) -C $(KERNEL_SRC) M=$(PWD) clean | ||
37 | |||
38 | endif | ||
39 | -- | ||
40 | 1.7.5.4 | ||
41 | |||