Skip to content

Commit 2be3fd9

Browse files
committed
selftests/nolibc: be more specific about variables affecting nolibc-test
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>
1 parent 1201f6f commit 2be3fd9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tools/testing/selftests/nolibc/Makefile.nolibc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ help:
267267
@echo " all call the \"run\" target below"
268268
@echo " help this help"
269269
@echo " sysroot create the nolibc sysroot here (uses \$$ARCH)"
270-
@echo " nolibc-test build the executable (uses \$$CC and \$$CROSS_COMPILE)"
270+
@echo " nolibc-test build the executable (uses \$$CC or \$$CROSS_COMPILE)"
271271
@echo " libc-test build an executable using the compiler's default libc instead"
272272
@echo " run-user runs the executable under QEMU (uses \$$XARCH, \$$TEST)"
273273
@echo " initramfs.cpio prepare the initramfs archive with nolibc-test"

0 commit comments

Comments
 (0)