[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20230726153935.252238-1-falcon@tinylab.org>
Date: Wed, 26 Jul 2023 23:39:35 +0800
From: Zhangjin Wu <falcon@...ylab.org>
To: falcon@...ylab.org
Cc: arnd@...db.de, linux-kernel@...r.kernel.org,
linux-kselftest@...r.kernel.org, linux@...ssschuh.net,
thomas@...ch.de, w@....eu
Subject: [PATCH v2 4/7] selftests/nolibc: add XARCH and ARCH mapping support
> [...]
> Suggested-by: Willy Tarreau <w@....eu>
> Link: https://lore.kernel.org/lkml/20230702171715.GD16233@1wt.eu/
> Reviewed-by: Thomas Weißschuh <linux@...ssschuh.net>
> Signed-off-by: Zhangjin Wu <falcon@...ylab.org>
> ---
> tools/testing/selftests/nolibc/Makefile | 27 ++++++++++++++++---------
> 1 file changed, 18 insertions(+), 9 deletions(-)
>
> [...]
> REPORT ?= awk '/\[OK\][\r]*$$/{p++} /\[FAIL\][\r]*$$/{if (!f) printf("\n"); f++; print;} /\[SKIPPED\][\r]*$$/{s++} \
> @@ -102,7 +110,7 @@ help:
> @echo " run-user runs the executable under QEMU (uses \$$ARCH, \$$TEST)"
> @echo " initramfs prepare the initramfs with nolibc-test"
> @echo " defconfig create a fresh new default config (uses \$$ARCH)"
> - @echo " kernel (re)build the kernel with the initramfs (uses \$$ARCH)"
> + @echo " kernel (re)build the kernel with the initramfs (uses $$ARCH)"
and a wrongly removed '\' here.
Thanks,
Zhangjin
> @echo " run runs the kernel in QEMU after building it (uses \$$ARCH, \$$TEST)"
> @echo " rerun runs a previously prebuilt kernel in QEMU (uses \$$ARCH, \$$TEST)"
> @echo " clean clean the sysroot, initramfs, build and output files"
> @@ -111,12 +119,13 @@ help:
> @echo ""
> @echo "Currently using the following variables:"
> @echo " ARCH = $(ARCH)"
> + @echo " XARCH = $(XARCH)"
> @echo " CROSS_COMPILE = $(CROSS_COMPILE)"
> @echo " CC = $(CC)"
> @echo " OUTPUT = $(OUTPUT)"
> @echo " TEST = $(TEST)"
> - @echo " QEMU_ARCH = $(if $(QEMU_ARCH),$(QEMU_ARCH),UNKNOWN_ARCH) [determined from \$$ARCH]"
> - @echo " IMAGE_NAME = $(if $(IMAGE_NAME),$(IMAGE_NAME),UNKNOWN_ARCH) [determined from \$$ARCH]"
> + @echo " QEMU_ARCH = $(if $(QEMU_ARCH),$(QEMU_ARCH),UNKNOWN_ARCH) [determined from \$$XARCH]"
> + @echo " IMAGE_NAME = $(if $(IMAGE_NAME),$(IMAGE_NAME),UNKNOWN_ARCH) [determined from \$$XARCH]"
> @echo ""
>
> all: run
> --
> 2.25.1
Powered by blists - more mailing lists