瀏覽代碼

crash: Do not build on riscv

Keep mips64 exclusion as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Khem Raj 4 年之前
父節點
當前提交
29076c7492
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      meta-oe/recipes-kernel/crash/crash_7.2.8.bb

+ 6 - 2
meta-oe/recipes-kernel/crash/crash_7.2.8.bb

@@ -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}" \