On Mon, May 15, 2017 at 11:37:05PM +0200, Petr Kulhavy wrote:
> However it is too weak. On some targets clock_nanosleep is defined
> conditionally in #if preprocessor directives.
> There is no way to detect that with grep.

Is this a configuration option for uClibc?  If so, then correct
solution is to enable that option in the library.

Or is clock_nanosleep always available starting with a particular
uClibc version?  In that case, a version check in linuxptp would be
acceptable.

> I'm trying to get linuxptp into Buildroot so that it compiles on all 49
> targets.

I'll try to accommodate you, but:

> >We are not going to start compiling fragments like autotools.

Thanks,
Richard

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to