summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng
diff options
context:
space:
mode:
authorHe Zhe <zhe.he@windriver.com>2019-06-17 15:34:06 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-18 11:23:48 +0100
commitaba310e5ef5c4ee374d2b2c7f15cb55d7c75f7bc (patch)
tree3669faceb3ff99affde6136e97f6a783b9f6e174 /meta/recipes-kernel/lttng
parent57588174445781f0c1ca83faa4680612d728ff64 (diff)
downloadpoky-aba310e5ef5c4ee374d2b2c7f15cb55d7c75f7bc.tar.gz
lttng-modules: Add git based recipe
The git based recipe is for those who want to build lttng-modules with bleeding edge kernel, to avoid regularly backporting patches from upstream. Note that PREFERRED_VERSION needs to be set to select the git recipe instead of the tar ball one. (From OE-Core rev: 18dd8e719f7c845d7e4bb1148ef6adad80a9493e) Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng')
-rw-r--r--meta/recipes-kernel/lttng/lttng-modules_2.10.10.bb11
1 files changed, 10 insertions, 1 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-modules_2.10.10.bb b/meta/recipes-kernel/lttng/lttng-modules_2.10.10.bb
index c1cc339167..6e2d655495 100644
--- a/meta/recipes-kernel/lttng/lttng-modules_2.10.10.bb
+++ b/meta/recipes-kernel/lttng/lttng-modules_2.10.10.bb
@@ -11,7 +11,6 @@ inherit module
11 11
12COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|nios2|arm|riscv).*-linux' 12COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|nios2|arm|riscv).*-linux'
13 13
14#https://lttng.org/files/lttng-modules/lttng-modules-2.10.7.tar.bz2
15SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \ 14SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \
16 file://Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch \ 15 file://Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch \
17 file://BUILD_RUNTIME_BUG_ON-vs-gcc7.patch \ 16 file://BUILD_RUNTIME_BUG_ON-vs-gcc7.patch \
@@ -34,3 +33,13 @@ python do_package_prepend() {
34 bb.warn("%s: no modules were created; this may be due to CONFIG_TRACEPOINTS not being enabled in your kernel." % d.getVar('PN')) 33 bb.warn("%s: no modules were created; this may be due to CONFIG_TRACEPOINTS not being enabled in your kernel." % d.getVar('PN'))
35} 34}
36 35
36BBCLASSEXTEND = "devupstream:target"
37LIC_FILES_CHKSUM_class-devupstream = "file://LICENSE;md5=c4613d1f8a9587bd7b366191830364b3"
38DEFAULT_PREFERENCE_class-devupstream = "-1"
39SRC_URI_class-devupstream = "git://git.lttng.org/lttng-modules;branch=stable-2.10 \
40 file://Makefile-Do-not-fail-if-CONFIG_TRACEPOINTS-is-not-en.patch \
41 file://BUILD_RUNTIME_BUG_ON-vs-gcc7.patch \
42 "
43SRCREV_class-devupstream = "624aca5d7507fbd11ea4a1a474c3aa1031bd9a31"
44PV_class-devupstream = "2.10.10+git${SRCPV}"
45S_class-devupstream = "${WORKDIR}/git"