mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git
synced 2026-10-31 06:14:39 +01:00
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 <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Vincenzo Frascino <[email protected]> Acked-by: Shuah Khan <[email protected]> Link: https://lore.kernel.org/all/[email protected]
This commit is contained in:
1 parent
626fd35278
commit
1a59f5d315
1 file changed
+4
-1
@@ -228,4 +228,7 @@ $(OUTPUT)/%:%.S
|
||||
$(LINK.S) $^ $(LDLIBS) -o $@
|
||||
endif
|
||||
|
||||
.PHONY: run_tests all clean install emit_tests gen_mods_dir clean_mods_dir
|
||||
headers:
|
||||
$(Q)$(MAKE) -C $(top_srcdir) headers
|
||||
|
||||
.PHONY: run_tests all clean install emit_tests gen_mods_dir clean_mods_dir headers
|
||||
Reference in new issue
Block a user