diff options
author | Mathieu Desnoyers <mathieu.desnoyers@efficios.com> | 2023-01-27 16:57:29 +0300 |
---|---|---|
committer | Shuah Khan <skhan@linuxfoundation.org> | 2023-02-13 19:09:44 +0300 |
commit | c2d3cf3653a8ff6e4b402d55e7f84790ac08a8ad (patch) | |
tree | 3c747e6735ac3d2aeb2f4f7774c89eaa0499757d /tools/testing/selftests/filesystems/binderfs | |
parent | 07f0148aafe8c95a3a76cd59e9e75b4d78d1d31d (diff) | |
download | linux-c2d3cf3653a8ff6e4b402d55e7f84790ac08a8ad.tar.xz |
selftests: filesystems: 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=...).
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>
Diffstat (limited to 'tools/testing/selftests/filesystems/binderfs')
-rw-r--r-- | tools/testing/selftests/filesystems/binderfs/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/filesystems/binderfs/Makefile b/tools/testing/selftests/filesystems/binderfs/Makefile index 8af25ae96049..c2f7cef919c0 100644 --- a/tools/testing/selftests/filesystems/binderfs/Makefile +++ b/tools/testing/selftests/filesystems/binderfs/Makefile @@ -1,6 +1,6 @@ # SPDX-License-Identifier: GPL-2.0 -CFLAGS += -I../../../../../usr/include/ -pthread +CFLAGS += $(KHDR_INCLUDES) -pthread TEST_GEN_PROGS := binderfs_test binderfs_test: binderfs_test.c ../../kselftest.h ../../kselftest_harness.h |