Skip to content

Commit

Permalink
selftests: landlock: Add the uapi headers include variable
Browse files Browse the repository at this point in the history
Out of tree build of this test fails if relative path of the output
directory is specified. Add the KHDR_INCLUDES to correctly reach the
headers.

Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com>
Reviewed-by: Mickaël Salaün <mic@linux.microsoft.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
  • Loading branch information
Muhammad Usama Anjum authored and Shuah Khan committed Feb 24, 2022
1 parent 0cc5963 commit cb542c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/testing/selftests/landlock/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-License-Identifier: GPL-2.0

CFLAGS += -Wall -O2
CFLAGS += -Wall -O2 $(KHDR_INCLUDES)

src_test := $(wildcard *_test.c)

Expand Down

0 comments on commit cb542c6

Please sign in to comment.