Skip to contentSkip to conversation

lttng: Enable tools and modules on riscv

PATCH New Khem Raj 1 participant 3 messages Mar 19, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH v2 1/3 lttng: Enable tools and modules on riscv

Latest version compiles on risv64 now

Cc Jonathan Rajotte-Julien <[email protected]>

---
v2: Keep it disabled on musl for now

 meta/recipes-kernel/lttng/lttng-modules_2.10.8.bb | 2 +-
 meta/recipes-kernel/lttng/lttng-tools_2.10.6.bb   | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
meta/recipes-kernel/lttng/lttng-modules_2.10.8.bb +1 -1
index 086254d3d3..15e75e51c9 100644
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c4613d1f8a9587bd7b366191830364b3 \
 
 inherit module
 
-COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|nios2|arm).*-linux'
+COMPATIBLE_HOST = '(x86_64|i.86|powerpc|aarch64|mips|nios2|arm|riscv).*-linux'
 
 #https://lttng.org/files/lttng-modules/lttng-modules-2.10.7.tar.bz2
 SRC_URI = "https://lttng.org/files/${BPN}/${BPN}-${PV}.tar.bz2 \
meta/recipes-kernel/lttng/lttng-tools_2.10.6.bb +0 -1
index 151e35e3c3..86418f14c0 100644
@@ -28,7 +28,6 @@ PACKAGECONFIG[kmod] = "--with-kmod, --without-kmod, kmod"
 PACKAGECONFIG[manpages] = "--enable-man-pages, --disable-man-pages, asciidoc-native xmlto-native libxslt-native"
 PACKAGECONFIG_remove_libc-musl = "lttng-ust"
 PACKAGECONFIG_remove_arc = "lttng-ust"
-PACKAGECONFIG_remove_riscv64 = "lttng-ust"
 
 SRC_URI = "https://lttng.org/files/lttng-tools/lttng-tools-${PV}.tar.bz2 \
            file://x32.patch \
Signature · 1 line
2.21.0
author
#1 lore raw

PATCH 2/3 packagegroup-core-tools-profile: Do not remove lttng-ust for musl and risc-v

Cc Jonathan Rajotte-Julien <[email protected]>

---
v2: Rebased

 .../packagegroups/packagegroup-core-tools-profile.bb           | 3 ---
 1 file changed, 3 deletions(-)
meta/recipes-core/packagegroups/packagegroup-core-tools-profile.bb +0 -3
index 762c046636..3d8e0c2ed7 100644
@@ -39,16 +39,13 @@ SYSTEMTAP_riscv64 = ""
 LTTNGUST = "lttng-ust"
 LTTNGUST_libc-musl = ""
 LTTNGUST_arc = ""
-LTTNGUST_riscv64 = ""
 
 LTTNGTOOLS = "lttng-tools"
 LTTNGTOOLS_libc-musl = ""
 LTTNGTOOLS_arc = ""
-LTTNGTOOLS_riscv64 = ""
 
 LTTNGMODULES = "lttng-modules"
 LTTNGMODULES_arc = ""
-LTTNGMODULES_riscv64 = ""
 
 BABELTRACE = "babeltrace"
 
Signature · 1 line
2.21.0
author
#2 lore raw

PATCH 3/3 gdb: Do not disable lttng-ust on risc-v

In reply to Khem Raj
Cc Jonathan Rajotte-Julien <[email protected]>

---
v2: Rebased

 meta/recipes-devtools/gdb/gdb-common.inc | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-devtools/gdb/gdb-common.inc +0 -1
index 57bc0dc773..a07625bb8d 100644
@@ -6,7 +6,6 @@ DEPENDS = "expat zlib ncurses virtual/libiconv ${LTTNGUST} bison-native"
 LTTNGUST = "lttng-ust"
 LTTNGUST_arc = ""
 LTTNGUST_aarch64 = ""
-LTTNGUST_riscv64 = ""
 LTTNGUST_mipsarch = ""
 LTTNGUST_sh4 = ""
 LTTNGUST_libc-musl = ""
Signature · 1 line
2.21.0