The patch titled Subject: selftests: correct the headers install path has been added to the -mm tree. Its filename is selftests-correct-the-headers-install-path.patch This patch should soon appear at https://ozlabs.org/~akpm/mmots/broken-out/selftests-correct-the-headers-install-path.patch and later at https://ozlabs.org/~akpm/mmotm/broken-out/selftests-correct-the-headers-install-path.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/process/submit-checklist.rst when testing your code *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx> Subject: selftests: correct the headers install path uapi headers should be installed at the top of the object tree, "<obj_tree>/usr/include". There is no need for kernel headers to be present at kselftest build directory, "<obj_tree>/kselftest/usr/ include" as well. This duplication can be avoided by correctly specifying the INSTALL_HDR_PATH. Link: https://lkml.kernel.org/r/20220119101531.2850400-4-usama.anjum@xxxxxxxxxxxxx Signed-off-by: Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx> Cc: Alistair Popple <apopple@xxxxxxxxxx> Cc: Andr Almeida <andrealmeid@xxxxxxxxxxxxx> Cc: Darren Hart <dvhart@xxxxxxxxxxxxx> Cc: Davidlohr Bueso <dave@xxxxxxxxxxxx> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> Cc: Ingo Molnar <mingo@xxxxxxxxxx> Cc: Jakub Kicinski <kuba@xxxxxxxxxx> Cc: Mat Martineau <mathew.j.martineau@xxxxxxxxxxxxxxx> Cc: Matthieu Baerts <matthieu.baerts@xxxxxxxxxxxx> Cc: Mickal Salan <mic@xxxxxxxxxxx> Cc: Minghao Chi <chi.minghao@xxxxxxxxxx> Cc: Paolo Bonzini <pbonzini@xxxxxxxxxx> Cc: Peter Zijlstra <peterz@xxxxxxxxxxxxx> Cc: Shuah Khan <shuah@xxxxxxxxxx> Cc: Thomas Gleixner <tglx@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- tools/testing/selftests/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/tools/testing/selftests/Makefile~selftests-correct-the-headers-install-path +++ a/tools/testing/selftests/Makefile @@ -167,7 +167,7 @@ khdr: ifeq (1,$(DEFAULT_INSTALL_HDR_PATH)) $(MAKE) --no-builtin-rules ARCH=$(ARCH) -C $(top_srcdir) headers_install else - $(MAKE) --no-builtin-rules INSTALL_HDR_PATH=$$BUILD/usr \ + $(MAKE) --no-builtin-rules INSTALL_HDR_PATH=$(abs_objtree)/usr \ ARCH=$(ARCH) -C $(top_srcdir) headers_install endif _ Patches currently in -mm which might be from usama.anjum@xxxxxxxxxxxxx are selftests-set-the-build-variable-to-absolute-path.patch selftests-add-and-export-a-kernel-uapi-headers-path.patch selftests-correct-the-headers-install-path.patch selftests-futex-add-the-uapi-headers-include-variable.patch selftests-kvm-add-the-uapi-headers-include-variable.patch selftests-landlock-add-the-uapi-headers-include-variable.patch selftests-net-add-the-uapi-headers-include-variable.patch selftests-mptcp-add-the-uapi-headers-include-variable.patch selftests-vm-add-the-uapi-headers-include-variable.patch selftests-vm-remove-dependecy-from-internal-kernel-macros.patch