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 | |
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')
5 files changed, 170 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/babeltrace_1.0.0.bb b/meta/recipes-kernel/lttng/babeltrace_1.0.0.bb new file mode 100644 index 0000000000..4223c54db1 --- /dev/null +++ b/meta/recipes-kernel/lttng/babeltrace_1.0.0.bb | |||
@@ -0,0 +1,28 @@ | |||
1 | SUMMARY = "Babeltrace - Trace Format Babel Tower" | ||
2 | DESCRIPTION = "Babeltrace provides trace read and write libraries in host side, as well as a trace converter, which used to convert LTTng 2.0 traces into human-readable log." | ||
3 | HOMEPAGE = "http://www.efficios.com/babeltrace/" | ||
4 | BUGTRACKER = "n/a" | ||
5 | |||
6 | LICENSE = "MIT & GPLv2" | ||
7 | LIC_FILES_CHKSUM = "file://LICENSE;md5=76ba15dd76a248e1dd526bca0e2125fa" | ||
8 | |||
9 | inherit autotools | ||
10 | |||
11 | DEPENDS = "glib-2.0 util-linux popt" | ||
12 | |||
13 | SRCREV = "f6ed7fa4636ff22e08f57721dcd312828547aa66" | ||
14 | PV = "1.0+git${SRCPV}" | ||
15 | PR = "r0" | ||
16 | |||
17 | SRC_URI = "git://git.efficios.com/babeltrace.git;protocol=git" | ||
18 | |||
19 | S = "${WORKDIR}/git" | ||
20 | |||
21 | do_configure_prepend () { | ||
22 | ${S}/bootstrap | ||
23 | } | ||
24 | |||
25 | # Due to liburcu not building for MIPS currently this recipe needs to | ||
26 | # be limited also. | ||
27 | # So here let us first suppport x86/arm/powerpc platforms now. | ||
28 | COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux.*' | ||
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 | |||
diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.1.0.bb b/meta/recipes-kernel/lttng/lttng-modules_2.1.0.bb new file mode 100644 index 0000000000..b3a25f9ca5 --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-modules_2.1.0.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | SECTION = "devel" | ||
2 | SUMMARY = "Linux Trace Toolkit KERNEL MODULE" | ||
3 | DESCRIPTION = "The lttng-modules 2.0 package contains the kernel tracer modules" | ||
4 | LICENSE = "LGPLv2.1 & GPLv2" | ||
5 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1412caf5a1aa90d6a48588a4794c0eac \ | ||
6 | file://gpl-2.0.txt;md5=751419260aa954499f7abaabaa882bbe \ | ||
7 | file://lgpl-2.1.txt;md5=243b725d71bb5df4a1e5920b344b86ad" | ||
8 | |||
9 | DEPENDS = "virtual/kernel" | ||
10 | |||
11 | inherit module | ||
12 | |||
13 | SRCREV = "b945d6c4083ce287f390f54dff4b5e0b73a9f845" | ||
14 | PV = "2.1.0" | ||
15 | PR = "r0" | ||
16 | |||
17 | SRC_URI = "git://git.lttng.org/lttng-modules.git;protocol=git \ | ||
18 | file://lttng-modules-replace-KERNELDIR-with-KERNEL_SRC.patch" | ||
19 | |||
20 | export INSTALL_MOD_DIR="kernel/lttng-modules" | ||
21 | export KERNEL_SRC="${STAGING_KERNEL_DIR}" | ||
22 | |||
23 | |||
24 | S = "${WORKDIR}/git" | ||
25 | |||
26 | # Due to liburcu not building for MIPS currently this recipe needs to | ||
27 | # be limited also. | ||
28 | # So here let us first suppport x86/arm/powerpc platforms now. | ||
29 | COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux.*' | ||
diff --git a/meta/recipes-kernel/lttng/lttng-tools_2.1.0.bb b/meta/recipes-kernel/lttng/lttng-tools_2.1.0.bb new file mode 100644 index 0000000000..16e1ccc7c7 --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-tools_2.1.0.bb | |||
@@ -0,0 +1,37 @@ | |||
1 | SECTION = "devel" | ||
2 | SUMMARY = "Linux Trace Toolkit Control" | ||
3 | DESCRIPTION = "The Linux trace toolkit is a suite of tools designed \ | ||
4 | to extract program execution details from the Linux operating system \ | ||
5 | and interpret them." | ||
6 | |||
7 | LICENSE = "GPLv2 & LGPLv2.1" | ||
8 | LIC_FILES_CHKSUM = "file://LICENSE;md5=01d7fc4496aacf37d90df90b90b0cac1 \ | ||
9 | file://gpl-2.0.txt;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | ||
10 | file://lgpl-2.1.txt;md5=0f0d71500e6a57fd24d825f33242b9ca" | ||
11 | |||
12 | DEPENDS = "liburcu popt lttng-ust" | ||
13 | |||
14 | SRCREV = "917f768512b5d336d553b801f6c5308d90252a89" | ||
15 | PV = "v2.1.0" | ||
16 | PR = "r0" | ||
17 | |||
18 | SRC_URI = "git://git.lttng.org/lttng-tools.git;protocol=git" | ||
19 | |||
20 | S = "${WORKDIR}/git" | ||
21 | |||
22 | inherit autotools | ||
23 | |||
24 | export KERNELDIR="${STAGING_KERNEL_DIR}" | ||
25 | |||
26 | FILES_${PN} += "${libdir}/lttng/libexec/*" | ||
27 | FILES_${PN}-dbg += "${libdir}/lttng/libexec/.debug" | ||
28 | |||
29 | # Since files are installed into ${libdir}/lttng/libexec we match | ||
30 | # the libexec insane test so skip it. | ||
31 | INSANE_SKIP_${PN} = "libexec" | ||
32 | INSANE_SKIP_${PN}-dbg = "libexec" | ||
33 | |||
34 | # Due to liburcu not building for MIPS currently this recipe needs to | ||
35 | # be limited also. | ||
36 | # So here let us first suppport x86/arm/powerpc platforms now. | ||
37 | COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux.*' | ||
diff --git a/meta/recipes-kernel/lttng/lttng-ust_2.1.0.bb b/meta/recipes-kernel/lttng/lttng-ust_2.1.0.bb new file mode 100644 index 0000000000..1076bde574 --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-ust_2.1.0.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | SUMMARY = "Linux Trace Toolkit Userspace Tracer 2.0" | ||
2 | DESCRIPTION = "The LTTng UST 2.0 package contains the userspace tracer library to trace userspace codes." | ||
3 | HOMEPAGE = "http://lttng.org/lttng2.0" | ||
4 | BUGTRACKER = "n/a" | ||
5 | |||
6 | LICENSE = "LGPLv2.1+ & BSD & GPLv2" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=c963eb366b781252b0bf0fdf1624d9e9 \ | ||
8 | file://snprintf/snprintf.c;endline=32;md5=d3d544959d8a3782b2e07451be0a903c \ | ||
9 | file://snprintf/various.h;endline=31;md5=89f2509b6b4682c4fc95255eec4abe44" | ||
10 | |||
11 | inherit autotools | ||
12 | |||
13 | DEPENDS = "liburcu util-linux" | ||
14 | |||
15 | # For backwards compatibility after rename | ||
16 | RPROVIDES_${PN} = "lttng2-ust" | ||
17 | RREPLACES_${PN} = "lttng2-ust" | ||
18 | RCONFLICTS_${PN} = "lttng2-ust" | ||
19 | |||
20 | SRCREV = "0c9ad44b7604040dfcd1e67b18afc3dc5d025b19" | ||
21 | PV = "2.1.0" | ||
22 | PR = "r0" | ||
23 | |||
24 | SRC_URI = "git://git.lttng.org/lttng-ust.git;protocol=git" | ||
25 | |||
26 | S = "${WORKDIR}/git" | ||
27 | |||
28 | do_configure_prepend () { | ||
29 | ${S}/bootstrap | ||
30 | } | ||
31 | |||
32 | # Due to liburcu not building for MIPS currently this recipe needs to | ||
33 | # be limited also. | ||
34 | # So here let us first suppport x86/arm/powerpc platforms now. | ||
35 | COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-linux.*' | ||