From 0a5466d8d53bc8045ff56ff76cc1880aa85761c2 Mon Sep 17 00:00:00 2001 From: "ustcymgu@gmail.com" Date: Sat, 19 Nov 2022 14:02:55 +0000 Subject: RISC-V 32-bit support Added 32-bit RISC-V support. I have managed to get 32-bit RISC-V No-MMU Linux running based on mainstream buildroot. It's nice to have uclibc support this 32-bit No-MMU target. There's no substantial code change except definations and config options. Signed-off-by: Yimin Gu --- Rules.mak | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Rules.mak') diff --git a/Rules.mak b/Rules.mak index 8b54e2854..c36a0db09 100644 --- a/Rules.mak +++ b/Rules.mak @@ -296,6 +296,7 @@ ifneq ($(TARGET_ARCH),c6x) ifneq ($(TARGET_ARCH),h8300) ifneq ($(TARGET_ARCH),arc) ifneq ($(TARGET_ARCH),aarch64) +ifneq ($(TARGET_ARCH),riscv32) CPU_CFLAGS-y += -msoft-float endif endif @@ -307,6 +308,7 @@ endif endif endif endif +endif ifeq ($(TARGET_ARCH),aarch64) CPU_CFLAGS-y += -ftls-model=initial-exec -- cgit v1.2.3