summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/ptp
diff options
context:
space:
mode:
authorGrygorii Strashko <grygorii.strashko@ti.com>2017-07-28 18:44:50 -0500
committerShuah Khan <shuahkh@osg.samsung.com>2017-08-02 15:26:46 -0600
commit3e18b641744ec8fe2ade75d6b9eae5f4de780476 (patch)
tree597f4d408ba9827df91dcc337ce4ed507fa1a4b2 /tools/testing/selftests/ptp
parent5ec8d6ce615bada0e75717492f2291de62fd7d54 (diff)
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 <grygorii.strashko@ti.com> Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Diffstat (limited to 'tools/testing/selftests/ptp')
-rw-r--r--tools/testing/selftests/ptp/Makefile1
1 files changed, 1 insertions, 0 deletions
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)