From 9866e2e64ac12ba6ea1461c2c7410c42125d7aac Mon Sep 17 00:00:00 2001 From: Adrian Perez de Castro Date: Thu, 26 May 2022 14:37:33 +0300 Subject: [PATCH] package/wpewebkit: allow building for risc-v WPE WebKit works just fine on RISC-V. For the current stable version the build system automatically picks the LLint JavaScript interpreter, and the upcoming 2.38.x release series will include (and automatically enable) JIT support. Signed-off-by: Adrian Perez de Castro Signed-off-by: Thomas Petazzoni --- package/wpewebkit/Config.in | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/package/wpewebkit/Config.in b/package/wpewebkit/Config.in index 36523bdb41..8e80c73302 100644 --- a/package/wpewebkit/Config.in +++ b/package/wpewebkit/Config.in @@ -7,6 +7,10 @@ config BR2_PACKAGE_WPEWEBKIT_ARCH_SUPPORTS # Disabled on MIPS big endian due to sigbus default y if BR2_mipsel || BR2_mips64el # Disabled on PowerPC pending runtime testing + # RISC-V needs the g/imafd ISA. + default y if BR2_riscv && BR2_RISCV_ISA_RVI \ + && BR2_RISCV_ISA_RVM && BR2_RISCV_ISA_RVA \ + && BR2_RISCV_ISA_RVF && BR2_RISCV_ISA_RVD # Disabled on SuperH because of segfault depends on BR2_USE_MMU # libglib2 depends on BR2_TOOLCHAIN_HAS_SYNC_4