Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

selftests: Add headers target

Some selftests need access to a full UAPI headers tree, for example when
building with nolibc which heavily relies on UAPI headers.
A reference to such a tree is available in the KHDR_INCLUDES variable,
but there is currently no way to populate such a tree automatically.

Provide a target that the tests can depend on to get access to usable
UAPI headers.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Reviewed-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Link: https://lore.kernel.org/all/20250226-parse_vdso-nolibc-v2-8-28e14e031ed8@linutronix.de

authored by

Thomas Weißschuh and committed by
Thomas Gleixner
1a59f5d3 626fd352

+4 -1
+4 -1
tools/testing/selftests/lib.mk
··· 228 228 $(LINK.S) $^ $(LDLIBS) -o $@ 229 229 endif 230 230 231 - .PHONY: run_tests all clean install emit_tests gen_mods_dir clean_mods_dir 231 + headers: 232 + $(Q)$(MAKE) -C $(top_srcdir) headers 233 + 234 + .PHONY: run_tests all clean install emit_tests gen_mods_dir clean_mods_dir headers