diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-27 09:56:28 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-08-27 21:41:57 +0100 |
commit | bf7cbaff417b45c15a11034f2809193a563064b7 (patch) | |
tree | be60e34570430ec0265c45144ad140ae0474347a /meta/recipes-core/packagegroups | |
parent | 194d0ecc9846c5aff6a3e4f87c5719275f4f8a00 (diff) | |
download | poky-bf7cbaff417b45c15a11034f2809193a563064b7.tar.gz |
lttng: Move platform logic to dedicated inc file
Some platforms support kernel tracing, some support userspace tracing.
This change:
* Moves the knowledge/config to one place in an inc file
* Allows lttng-tools to build without lttng-modules
* Hence enables tools+ust for riscv64
* Has the packagegroup just depend on lttng-tools which will pull in
ust/modules as needed
(From OE-Core rev: 1824cf062df928de65c1bff5e86e26b7b4d9d784)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/packagegroups')
-rw-r--r-- | meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb index 608e406f83..17b1391a47 100644 --- a/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb +++ b/meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb | |||
@@ -35,17 +35,8 @@ SYSTEMTAP_libc-musl = "" | |||
35 | SYSTEMTAP_nios2 = "" | 35 | SYSTEMTAP_nios2 = "" |
36 | SYSTEMTAP_riscv64 = "" | 36 | SYSTEMTAP_riscv64 = "" |
37 | 37 | ||
38 | # lttng-ust uses sched_getcpu() which is not there on for some platforms. | ||
39 | LTTNGUST = "lttng-ust" | ||
40 | LTTNGUST_arc = "" | ||
41 | |||
42 | LTTNGTOOLS = "lttng-tools" | 38 | LTTNGTOOLS = "lttng-tools" |
43 | LTTNGTOOLS_arc = "" | 39 | LTTNGTOOLS_arc = "" |
44 | LTTNGTOOLS_riscv64 = "" | ||
45 | |||
46 | LTTNGMODULES = "lttng-modules" | ||
47 | LTTNGMODULES_arc = "" | ||
48 | LTTNGMODULES_riscv64 = "" | ||
49 | 40 | ||
50 | BABELTRACE = "babeltrace" | 41 | BABELTRACE = "babeltrace" |
51 | BABELTRACE2 = "babeltrace2" | 42 | BABELTRACE2 = "babeltrace2" |
@@ -69,9 +60,7 @@ VALGRIND_linux-gnun32 = "" | |||
69 | 60 | ||
70 | RDEPENDS_${PN} = "\ | 61 | RDEPENDS_${PN} = "\ |
71 | ${PROFILETOOLS} \ | 62 | ${PROFILETOOLS} \ |
72 | ${LTTNGUST} \ | ||
73 | ${LTTNGTOOLS} \ | 63 | ${LTTNGTOOLS} \ |
74 | ${LTTNGMODULES} \ | ||
75 | ${BABELTRACE} \ | 64 | ${BABELTRACE} \ |
76 | ${BABELTRACE2} \ | 65 | ${BABELTRACE2} \ |
77 | ${SYSTEMTAP} \ | 66 | ${SYSTEMTAP} \ |