Commit 643e153d authored by Adam Wujek's avatar Adam Wujek Committed by Adam Wujek

arch-wrpc: enable build for riscv

Signed-off-by: 's avatarAdam Wujek <dev_public@wujek.eu>
parent de2bb43c
CFLAGS-CPU-LM32 = -mmultiply-enabled -mbarrel-shift-enabled
CFLAGS-CPU-RISCV = -march=rv32im -mabi=ilp32
# use lm32 if not defined
CPU_ARCH ?= LM32
CFLAGS += -ffreestanding \
-ffunction-sections -fdata-sections \
-mmultiply-enabled -mbarrel-shift-enabled \
-Itools -Iproto-standard
-Itools -Iproto-standard \
$(CFLAGS-CPU-$(CPU_ARCH))
# Root of wrpc-sw project
WRPCSW_ROOT ?= $(CONFIG_WRPCSW_ROOT)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment