selftests/powerpc: Fix incorrect kernel headers search path
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 27 Jan 2023 13:57:42 +0000 (08:57 -0500)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 15 Feb 2023 11:41:00 +0000 (22:41 +1100)
commit4f11410bf6da87defe8fd59b0413f0d9f71744da
tree5087cb216f75b8f3725acfa4e52172d1a76727dd
parent08273c9f619cb32fb041935724f576e607101f3b
selftests/powerpc: Fix incorrect kernel headers search path

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=...).

Cc: stable@vger.kernel.org # v5.18+
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20230127135755.79929-22-mathieu.desnoyers@efficios.com
tools/testing/selftests/powerpc/ptrace/Makefile
tools/testing/selftests/powerpc/security/Makefile
tools/testing/selftests/powerpc/syscalls/Makefile
tools/testing/selftests/powerpc/tm/Makefile