Skip to content

Commit 4c983a1

Browse files
compudjshuahkh
authored andcommitted
selftests: ptrace: Use installed kernel headers search path
Use $(KHDR_INCLUDES) as lookup path for installed kernel headers rather than using kernel headers in include/uapi from the source kernel tree kernel headers. Signed-off-by: Mathieu Desnoyers <[email protected]> Cc: Shuah Khan <[email protected]> Cc: [email protected] Cc: Ingo Molnar <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
1 parent a24ebb4 commit 4c983a1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/testing/selftests/ptrace/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# SPDX-License-Identifier: GPL-2.0-only
2-
CFLAGS += -std=c99 -pthread -iquote../../../../include/uapi -Wall
2+
CFLAGS += -std=c99 -pthread -Wall $(KHDR_INCLUDES)
33

44
TEST_GEN_PROGS := get_syscall_info peeksiginfo vmaccess
55

0 commit comments

Comments
 (0)