summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/landlock/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/landlock/Makefile')
-rw-r--r--tools/testing/selftests/landlock/Makefile5
1 files changed, 1 insertions, 4 deletions
diff --git a/tools/testing/selftests/landlock/Makefile b/tools/testing/selftests/landlock/Makefile
index 0b0049e133bb..02868ac3bc71 100644
--- a/tools/testing/selftests/landlock/Makefile
+++ b/tools/testing/selftests/landlock/Makefile
@@ -8,15 +8,12 @@ TEST_GEN_PROGS := $(src_test:.c=)
TEST_GEN_PROGS_EXTENDED := true
-KSFT_KHDR_INSTALL := 1
OVERRIDE_TARGETS := 1
+top_srcdir := ../../../..
include ../lib.mk
khdr_dir = $(top_srcdir)/usr/include
-$(khdr_dir)/linux/landlock.h: khdr
- @:
-
$(OUTPUT)/true: true.c
$(LINK.c) $< $(LDLIBS) -o $@ -static