From c9fc68aaa370088b588ad6aea7af60efbc16530c Mon Sep 17 00:00:00 2001 From: falkTX Date: Wed, 14 Sep 2022 01:03:44 +0100 Subject: [PATCH] Use generic implementation for ysfx eel riscv builds Signed-off-by: falkTX --- source/Makefile.deps.mk | 3 +++ source/modules/ysfx/Makefile | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/source/Makefile.deps.mk b/source/Makefile.deps.mk index 331884b72..0c64d6a8d 100644 --- a/source/Makefile.deps.mk +++ b/source/Makefile.deps.mk @@ -81,6 +81,9 @@ ifneq (,$(filter aarch64%,$(TARGET_PROCESSOR))) CPU_AARCH64 = true CPU_ARM_OR_AARCH64 = true endif +ifneq (,$(filter riscv64%,$(TARGET_PROCESSOR))) +CPU_RISCV64 = true +endif # --------------------------------------------------------------------------------------------------------------------- # Set PKG_CONFIG (can be overridden by environment variable) diff --git a/source/modules/ysfx/Makefile b/source/modules/ysfx/Makefile index b8b910c51..d004702bd 100644 --- a/source/modules/ysfx/Makefile +++ b/source/modules/ysfx/Makefile @@ -44,6 +44,11 @@ YSFX_FLAGS += -pthread endif endif +ifeq ($(CPU_RISCV64),true) +# FIXME +YSFX_FLAGS += -DEEL_TARGET_PORTABLE +endif + ifeq ($(WASM),true) # FIXME YSFX_FLAGS += -DEEL_TARGET_PORTABLE