]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
selftests: ptp: include default header install path
authorGrygorii Strashko <grygorii.strashko@ti.com>
Fri, 28 Jul 2017 23:44:50 +0000 (18:44 -0500)
committerShuah Khan <shuahkh@osg.samsung.com>
Wed, 2 Aug 2017 21:26:46 +0000 (15:26 -0600)
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>
tools/testing/selftests/ptp/Makefile

index 83dd42b2129e92806138cf653372792effb9ce8a..d4064c742c2673424b0fbac81afde676fa24f4d0 100644 (file)
@@ -1,3 +1,4 @@
+CFLAGS += -I../../../../usr/include/
 TEST_PROGS := testptp
 LDLIBS += -lrt
 all: $(TEST_PROGS)