From: Grygorii Strashko Date: Fri, 28 Jul 2017 23:44:50 +0000 (-0500) Subject: selftests: ptp: include default header install path X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3e18b641744ec8fe2ade75d6b9eae5f4de780476;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git selftests: ptp: include default header install path Add the usr/include subdirectory of the top-level tree to the include path to fix build when cross compiling for ARM. testptp.c: In function 'main': testptp.c:289:15: error: 'struct ptp_clock_caps' has no member named 'cross_timestamping' caps.cross_timestamping); Signed-off-by: Grygorii Strashko Signed-off-by: Shuah Khan --- diff --git a/tools/testing/selftests/ptp/Makefile b/tools/testing/selftests/ptp/Makefile index 83dd42b2129e..d4064c742c26 100644 --- a/tools/testing/selftests/ptp/Makefile +++ b/tools/testing/selftests/ptp/Makefile @@ -1,3 +1,4 @@ +CFLAGS += -I../../../../usr/include/ TEST_PROGS := testptp LDLIBS += -lrt all: $(TEST_PROGS)