Skip to contentSkip to conversation

crash: Do not build on riscv

PATCH New Khem Raj 1 participant 4 messages Apr 22, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/4 crash: Do not build on riscv

Keep mips64 exclusion as well

---
 meta-oe/recipes-kernel/crash/crash_7.2.8.bb | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
meta-oe/recipes-kernel/crash/crash_7.2.8.bb +6 -2
index 5fc25f400a..834c92cc46 100644
@@ -38,8 +38,12 @@ inherit gettext
 BBCLASSEXTEND = "native cross"
 TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}"
 
-# crash 7.1.3 and before don't support mips64
-COMPATIBLE_HOST = "^(?!mips64).*"
+# crash 7.1.3 and before don't support mips64/riscv64
+COMPATIBLE_HOST_riscv64 = "null"
+COMPATIBLE_HOST_riscv32 = "null"
+COMPATIBLE_HOST_mipsarchn64 = "null"
+COMPATIBLE_HOST_mipsarchn32 = "null"
+
 
 EXTRA_OEMAKE = 'RPMPKG="${PV}" \
                 GDB_TARGET="${TARGET_SYS}" \
Signature · 1 line
2.26.2
author
#1 lore raw

PATCH 2/4 breakpad: Disable build on riscv

Unsupported arch as of now

---
 meta-oe/recipes-devtools/breakpad/breakpad_git.bb | 2 ++
 1 file changed, 2 insertions(+)
meta-oe/recipes-devtools/breakpad/breakpad_git.bb +2 -0
index ff5acbeac2..daf262ed66 100644
@@ -49,6 +49,8 @@ S = "${WORKDIR}/git"
 CXXFLAGS += "-D_GNU_SOURCE"
 
 COMPATIBLE_HOST_powerpc = "null"
+COMPATIBLE_HOST_riscv64 = "null"
+COMPATIBLE_HOST_riscv32 = "null"
 
 do_install_append() {
         install -d ${D}${includedir}
Signature · 1 line
2.26.2
author
#2 lore raw

PATCH 3/4 ltrace: Do not build on riscv

In reply to Khem Raj

Does not have riscv port yet

---
 meta-oe/recipes-devtools/ltrace/ltrace_git.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-devtools/ltrace/ltrace_git.bb +3 -0
index 6b66c25297..5710943d74 100644
@@ -38,6 +38,9 @@ PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'selinux', d)}"
 PACKAGECONFIG[unwind] = "--with-libunwind,--without-libunwind,libunwind"
 PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,libselinux"
 
+COMPATIBLE_HOST_riscv64 = "null"
+COMPATIBLE_HOST_riscv32 = "null"
+
 do_configure_prepend () {
     ( cd ${S}; ./autogen.sh )
 }
Signature · 1 line
2.26.2
author
#3 lore raw

PATCH 4/4 oprofile: Disable build on riscv

In reply to Khem Raj

Not supported arch yet

---
 meta-oe/recipes-kernel/oprofile/oprofile_1.3.0.bb | 3 +++
 1 file changed, 3 insertions(+)
meta-oe/recipes-kernel/oprofile/oprofile_1.3.0.bb +3 -0
index bab38e2509..8242a835f4 100644
@@ -1,5 +1,8 @@
 require oprofile.inc
 
+COMPATIBLE_HOST_riscv64 = "null"
+COMPATIBLE_HOST_riscv32 = "null"
+
 DEPENDS_append_powerpc64 = " libpfm4"
 DEPENDS_append_powerpc64le = " libpfm4"
 
Signature · 1 line
2.26.2