]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
selftests/nolibc: always run nolibc header check
authorThomas Weißschuh <thomas.weissschuh@linutronix.de>
Thu, 24 Apr 2025 11:48:13 +0000 (13:48 +0200)
committerThomas Weißschuh <linux@weissschuh.net>
Wed, 21 May 2025 13:31:53 +0000 (15:31 +0200)
Prevent regressions of issues validates by the header check by always
running it together with the nolibc selftests.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Acked-by: Willy Tarreau <w@1wt.eu>
Link: https://lore.kernel.org/r/20250424-nolibc-header-check-v1-3-011576b6ed6f@linutronix.de
tools/testing/selftests/nolibc/Makefile

index 94f3e8be7a68f63ecd639c4f283b3cd10764ce74..d17750761d9f418b27c571de1cf3d0f4954877fd 100644 (file)
@@ -251,7 +251,7 @@ sysroot/$(ARCH)/include:
        $(Q)rm -rf sysroot/$(ARCH) sysroot/sysroot
        $(QUIET_MKDIR)mkdir -p sysroot
        $(Q)$(MAKE) -C $(srctree) outputmakefile
-       $(Q)$(MAKE) -C $(srctree)/tools/include/nolibc ARCH=$(ARCH) OUTPUT=$(CURDIR)/sysroot/ headers_standalone
+       $(Q)$(MAKE) -C $(srctree)/tools/include/nolibc ARCH=$(ARCH) OUTPUT=$(CURDIR)/sysroot/ headers_standalone headers_check
        $(Q)mv sysroot/sysroot sysroot/$(ARCH)
 
 ifneq ($(NOLIBC_SYSROOT),0)