From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753190AbdG1Xo4 (ORCPT ); Fri, 28 Jul 2017 19:44:56 -0400 Received: from lelnx193.ext.ti.com ([198.47.27.77]:46240 "EHLO lelnx193.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753060AbdG1Xoy (ORCPT ); Fri, 28 Jul 2017 19:44:54 -0400 From: Grygorii Strashko To: Shuah Khan , Jonathan Corbet CC: , , Grygorii Strashko Subject: [PATCH] selftests: ptp: include default header install path Date: Fri, 28 Jul 2017 18:44:50 -0500 Message-ID: <20170728234450.30186-1-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.10.1 MIME-Version: 1.0 Content-Type: text/plain Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- tools/testing/selftests/ptp/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/testing/selftests/ptp/Makefile b/tools/testing/selftests/ptp/Makefile index 83dd42b..d4064c7 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) -- 2.10.1