]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
selftests/nolibc: be more specific about variables affecting nolibc-test
authorThomas Weißschuh <linux@weissschuh.net>
Mon, 18 Aug 2025 14:02:04 +0000 (16:02 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Mon, 18 Aug 2025 14:05:39 +0000 (16:05 +0200)
Only one of these variables is used.
$CC is preferred over $CROSS_COMPILE.

Make this clear in the help message.

Suggested-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/lkml/20250817093905.GA14213@1wt.eu/
Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
tools/testing/selftests/nolibc/Makefile.nolibc

index 0fb759ba992ee6b1693b88f1b2e77463afa9f38b..b013a5d724c9afd2afbc9ae9f1e526bf12821305 100644 (file)
@@ -267,7 +267,7 @@ help:
        @echo "  all               call the \"run\" target below"
        @echo "  help              this help"
        @echo "  sysroot           create the nolibc sysroot here (uses \$$ARCH)"
-       @echo "  nolibc-test       build the executable (uses \$$CC and \$$CROSS_COMPILE)"
+       @echo "  nolibc-test       build the executable (uses \$$CC or \$$CROSS_COMPILE)"
        @echo "  libc-test         build an executable using the compiler's default libc instead"
        @echo "  run-user          runs the executable under QEMU (uses \$$XARCH, \$$TEST)"
        @echo "  initramfs.cpio    prepare the initramfs archive with nolibc-test"