[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <4937593aec1f39fbc44231a874a787eb29d7a47f.1687706332.git.falcon@tinylab.org>
Date: Mon, 26 Jun 2023 00:34:12 +0800
From: Zhangjin Wu <falcon@...ylab.org>
To: thomas@...ch.de, w@....eu
Cc: falcon@...ylab.org, arnd@...db.de, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org
Subject: [PATCH v1 15/22] selftests/nolibc: add extra configs for riscv32
Enable minimal configs for the riscv32 virt board of qemu.
Add 8250 console for test result print.
Signed-off-by: Zhangjin Wu <falcon@...ylab.org>
---
tools/testing/selftests/nolibc/Makefile | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/testing/selftests/nolibc/Makefile b/tools/testing/selftests/nolibc/Makefile
index 234abf54cac5..3ba2c25eaa8e 100644
--- a/tools/testing/selftests/nolibc/Makefile
+++ b/tools/testing/selftests/nolibc/Makefile
@@ -64,6 +64,7 @@ EXTCONFIG_x86 = -e 64BIT -e SERIAL_8250 -e SERIAL_8250_CONSOLE
EXTCONFIG_arm64 = -e SERIAL_AMBA_PL011 -e SERIAL_AMBA_PL011_CONSOLE
EXTCONFIG_arm = $(addprefix -e ,COMPAT_32BIT_TIME MMU ARCH_MULTIPLATFORM ARCH_MULTI_V7 ARM_PATCH_PHYS_VIRT ARCH_VIRT SERIAL_AMBA_PL011 SERIAL_AMBA_PL011_CONSOLE)
EXTCONFIG_mips = $(addprefix -e ,COMPAT_32BIT_TIME MIPS_MALTA CPU_LITTLE_ENDIAN CPU_MIPS32_R2 SERIAL_8250 SERIAL_8250_CONSOLE)
+EXTCONFIG_riscv32 = $(addprefix -e ,MMU ARCH_RV32I NONPORTABLE SERIAL_8250 SERIAL_8250_CONSOLE SERIAL_OF_PLATFORM)
EXTCONFIG_ARCH = $(EXTCONFIG_$(ARCH))
# extra kernel configs, include common + architecture specific
--
2.25.1
Powered by blists - more mailing lists