selftests: net: 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 <usama.anjum@collabora.com> Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
This commit is contained in:
parent
cb542c66f3
commit
50f4143df0
@ -2,7 +2,7 @@
|
|||||||
# Makefile for net selftests
|
# Makefile for net selftests
|
||||||
|
|
||||||
CFLAGS = -Wall -Wl,--no-as-needed -O2 -g
|
CFLAGS = -Wall -Wl,--no-as-needed -O2 -g
|
||||||
CFLAGS += -I../../../../usr/include/
|
CFLAGS += -I../../../../usr/include/ $(KHDR_INCLUDES)
|
||||||
|
|
||||||
TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh \
|
TEST_PROGS := run_netsocktests run_afpackettests test_bpf.sh netdevice.sh \
|
||||||
rtnetlink.sh xfrm_policy.sh test_blackhole_dev.sh
|
rtnetlink.sh xfrm_policy.sh test_blackhole_dev.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user