]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
selftests/nolibc: don't pass CC to toplevel Makefile
authorThomas Weißschuh <linux@weissschuh.net>
Sat, 19 Jul 2025 15:38:28 +0000 (17:38 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Mon, 18 Aug 2025 14:05:40 +0000 (16:05 +0200)
The toplevel Makefile is capable of calculating CC from CROSS_COMPILE
and/or ARCH.

Stop passing the unnecessary variable.

Signed-off-by: Thomas Weißschuh <linux@weissschuh.net>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20250719-nolibc-llvm-system-v1-2-1730216ce171@weissschuh.net
tools/testing/selftests/nolibc/Makefile.nolibc

index d8dbb63fe4f78ad1b92258482aefc7536a823961..ebb097d228b9ea8624bd9508c3693c55be1752a7 100644 (file)
@@ -263,7 +263,7 @@ REPORT  ?= awk '/\[OK\][\r]*$$/{p++} /\[FAIL\][\r]*$$/{if (!f) printf("\n"); f++
                printf("\nSee all results in %s\n", ARGV[1]); }'
 
 # Execute the toplevel kernel Makefile
-KBUILD_MAKE = $(MAKE) -C $(srctree) ARCH=$(ARCH) CC=$(CC) CROSS_COMPILE=$(CROSS_COMPILE)
+KBUILD_MAKE = $(MAKE) -C $(srctree) ARCH=$(ARCH) CROSS_COMPILE=$(CROSS_COMPILE)
 
 help:
        @echo "Supported targets under selftests/nolibc:"