mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-05 08:26:59 +00:00
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>
This commit is contained in:
parent
5ec8d6ce61
commit
3e18b64174
1 changed files with 1 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
CFLAGS += -I../../../../usr/include/
|
||||
TEST_PROGS := testptp
|
||||
LDLIBS += -lrt
|
||||
all: $(TEST_PROGS)
|
||||
|
|
Loading…
Reference in a new issue