Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1702512 > unrolled thread

Re: [PATCH] selftests: ptp: include default header install path

Started byShuah Khan <shuah@kernel.org>
First post2017-08-02 23:40 +0200
Last post2017-08-02 23:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH] selftests: ptp: include default header install path Shuah Khan <shuah@kernel.org> - 2017-08-02 23:40 +0200

#1702512 — Re: [PATCH] selftests: ptp: include default header install path

FromShuah Khan <shuah@kernel.org>
Date2017-08-02 23:40 +0200
SubjectRe: [PATCH] selftests: ptp: include default header install path
Message-ID<ua9wZ-765-3@gated-at.bofh.it>
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@ti.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

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web