[PATCH v1 18/22] selftests/nolibc: add extra configs for loongarch

From: Zhangjin Wu
Date: Sun Jun 25 2023 - 12:38:52 EST


Enable efi support for vmlinuz.efi boot.

Add 8250 console for test result print.

Signed-off-by: Zhangjin Wu <falcon@xxxxxxxxxxx>
---
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 4d0de9e90d86..9092d209ebd0 100644
--- a/tools/testing/selftests/nolibc/Makefile
+++ b/tools/testing/selftests/nolibc/Makefile
@@ -68,6 +68,7 @@ EXTCONFIG_riscv32 = $(addprefix -e ,MMU ARCH_RV32I NONPORTABLE SERIAL_8250 SE
EXTCONFIG_riscv64 = -e SERIAL_8250 -e SERIAL_8250_CONSOLE -e SERIAL_OF_PLATFORM
EXTCONFIG_riscv = -e SERIAL_8250 -e SERIAL_8250_CONSOLE -e SERIAL_OF_PLATFORM
EXTCONFIG_s390 = -e SCLP_VT220_TTY -e SCLP_VT220_CONSOLE
+EXTCONFIG_loongarch = $(addprefix -e ,EFI_STUB EFI_ZBOOT SERIAL_8250 SERIAL_8250_CONSOLE SERIAL_8250_PNP)
EXTCONFIG_ARCH = $(EXTCONFIG_$(ARCH))

# extra kernel configs, include common + architecture specific
--
2.25.1