Browse Source

add riscv64 support

currently it's difficult for WDL eel to support riscv64 'natively'
so we are enabling EEL_TARGET_PORTABLE as a workaround
pull/1649/head
Moody Liu 3 years ago
parent
commit
a79bfe2e49
2 changed files with 9 additions and 0 deletions
  1. +4
    -0
      source/Makefile.deps.mk
  2. +5
    -0
      source/modules/ysfx/Makefile

+ 4
- 0
source/Makefile.deps.mk View File

@@ -81,6 +81,10 @@ ifneq (,$(filter aarch64%,$(TARGET_PROCESSOR)))
CPU_AARCH64 = true
CPU_ARM_OR_AARCH64 = true
endif
ifneq (,$(filter riscv64%,$(TARGET_PROCESSOR)))
CPU_RISCV64 = true
CPU_RISCV32_OR_RISCV64 = true
endif

# ---------------------------------------------------------------------------------------------------------------------
# Set PKG_CONFIG (can be overridden by environment variable)


+ 5
- 0
source/modules/ysfx/Makefile View File

@@ -34,6 +34,11 @@ YSFX_FLAGS += -DEEL_TARGET_PORTABLE
endif
endif

# RISC-V needs portable code
ifeq ($(CPU_RISCV64),true)
YSFX_FLAGS += -DEEL_TARGET_PORTABLE
endif

ifeq ($(YSFX_FTS_LACKS_LFS_SUPPORT),true)
YSFX_FLAGS += -DYSFX_FTS_LACKS_LFS_SUPPORT
endif


Loading…
Cancel
Save