[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <78aa2a85-ef98-4a43-50e6-57a2775be6f1@kernel.org>
Date: Wed, 2 Aug 2017 15:32:42 -0600
From: Shuah Khan <shuah@...nel.org>
To: Grygorii Strashko <grygorii.strashko@...com>,
Jonathan Corbet <corbet@....net>
Cc: linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org,
Shuah Khan <shuah@...nel.org>
Subject: Re: [PATCH] selftests: ptp: include default header install path
On 07/28/2017 05:44 PM, Grygorii Strashko wrote:
> 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@...com>
> ---
> 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)
>
Thanks for the patch. Applied to linux-kselftest next for 4.14-rc1
thanks,
-- Shuah
Powered by blists - more mailing lists