Commit 90b6b686 authored by Linus Torvalds's avatar Linus Torvalds

Merge tag 'linux-kselftest-next-6.0-rc2' of...

Merge tag 'linux-kselftest-next-6.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest

Pull Kselftest fix from Shuah Khan:

 - fix landlock test build regression

* tag 'linux-kselftest-next-6.0-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
  selftests/landlock: fix broken include of linux/landlock.h
parents 0de277d4 f1227dc7
...@@ -9,10 +9,13 @@ TEST_GEN_PROGS := $(src_test:.c=) ...@@ -9,10 +9,13 @@ TEST_GEN_PROGS := $(src_test:.c=)
TEST_GEN_PROGS_EXTENDED := true TEST_GEN_PROGS_EXTENDED := true
OVERRIDE_TARGETS := 1 OVERRIDE_TARGETS := 1
top_srcdir := ../../../..
include ../lib.mk include ../lib.mk
khdr_dir = $(top_srcdir)/usr/include
$(OUTPUT)/true: true.c $(OUTPUT)/true: true.c
$(LINK.c) $< $(LDLIBS) -o $@ -static $(LINK.c) $< $(LDLIBS) -o $@ -static
$(OUTPUT)/%_test: %_test.c ../kselftest_harness.h common.h $(OUTPUT)/%_test: %_test.c $(khdr_dir)/linux/landlock.h ../kselftest_harness.h common.h
$(LINK.c) $< $(LDLIBS) -o $@ -lcap $(LINK.c) $< $(LDLIBS) -o $@ -lcap -I$(khdr_dir)
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment