mirror of
https://github.com/torvalds/linux.git
synced 2026-07-27 09:36:22 +02:00
selftests/nolibc: use QEMU_ARCH for QEMU_ARCH_USER
The current logic forces the XARCH to QEMU_ARCH mapping to contain entries for all architectures. This will change. To avoid duplication of that logic, reuse the already computed QEMU_ARCH variable. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Acked-by: Willy Tarreau <w@1wt.eu> Link: https://patch.msgid.link/20260429-nolibc-qemu-arch-v1-3-a2ca07eab297@weissschuh.net
This commit is contained in:
parent
3c1ee4a323
commit
c906341912
|
|
@ -161,7 +161,7 @@ QEMU_ARCH = $(QEMU_ARCH_$(XARCH))
|
|||
QEMU_ARCH_USER_ppc64le = ppc64le
|
||||
QEMU_ARCH_USER_mipsn32le = mipsn32el
|
||||
QEMU_ARCH_USER_mipsn32be = mipsn32
|
||||
QEMU_ARCH_USER = $(or $(QEMU_ARCH_USER_$(XARCH)),$(QEMU_ARCH_$(XARCH)))
|
||||
QEMU_ARCH_USER = $(or $(QEMU_ARCH_USER_$(XARCH)),$(QEMU_ARCH))
|
||||
|
||||
QEMU_BIOS_DIR = /usr/share/edk2/
|
||||
QEMU_BIOS_loongarch = $(QEMU_BIOS_DIR)/loongarch64/OVMF_CODE.fd
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user