aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <[email protected]>2022-01-19 15:15:29 +0500
committerShuah Khan <[email protected]>2022-02-23 17:20:59 -0700
commit5faa35d0b8cc1403acb6760e9e95905cfd691872 (patch)
tree0808b1e468ac1bc3ff28e2af446076a0920ec839
parent50f4143df0a63220f2108dc62164c432e07e410b (diff)
selftests: mptcp: Add the uapi headers include variable
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 <[email protected]> Reviewed-by: Matthieu Baerts <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
-rw-r--r--tools/testing/selftests/net/mptcp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/net/mptcp/Makefile b/tools/testing/selftests/net/mptcp/Makefile
index 0356c4501c99..f905d5358e68 100644
--- a/tools/testing/selftests/net/mptcp/Makefile
+++ b/tools/testing/selftests/net/mptcp/Makefile
@@ -3,7 +3,7 @@
top_srcdir = ../../../../..
KSFT_KHDR_INSTALL := 1
-CFLAGS = -Wall -Wl,--no-as-needed -O2 -g -I$(top_srcdir)/usr/include
+CFLAGS = -Wall -Wl,--no-as-needed -O2 -g -I$(top_srcdir)/usr/include $(KHDR_INCLUDES)
TEST_PROGS := mptcp_connect.sh pm_netlink.sh mptcp_join.sh diag.sh \
simult_flows.sh mptcp_sockopt.sh