]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: ipc: Fix incorrect kernel headers search path
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 27 Jan 2023 13:57:32 +0000 (08:57 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:34:18 +0000 (09:34 +0100)
commitd9f3e51416670da795438c5fb53248a062056e3b
treef0a58972d2cb28c00a5772a2285b2d3d23e230c5
parentbe6daf1714dcc0b7495e7053c0bf6df0e629ce7c
selftests: ipc: Fix incorrect kernel headers search path

commit c9667721a9c9a6ef8d60ac889a9ce4cdaf8c190c upstream.

Use $(KHDR_INCLUDES) as lookup path for kernel headers. This prevents
building against kernel headers from the build environment in scenarios
where kernel headers are installed into a specific output directory
(O=...).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: linux-kselftest@vger.kernel.org
Cc: Ingo Molnar <mingo@redhat.com>
Cc: <stable@vger.kernel.org> # 5.18+
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
tools/testing/selftests/ipc/Makefile