linuxptp: needs NPTL

/home/buildroot/autobuild/run/instance-1/output/host/bin/or1k-linux-gcc   phc_ctl.o phc.o sk.o util.o clockadj.o sysoff.o print.o version.o  -lm -lrt  -o phc_ctl
phc2sys.o: In function `do_loop':
phc2sys.c:(.text+0x18bc): undefined reference to `clock_nanosleep'

Fixes:
 - http://autobuild.buildroot.org/results/a31e0a5ae15e1164115e4e5981ef5fb3c3284bcc

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Fabrice Fontaine 2018-09-15 21:20:05 +02:00 committed by Peter Korsgaard
parent 10012bef11
commit 4e6ea0d043

View File

@ -1,5 +1,6 @@
config BR2_PACKAGE_LINUXPTP
bool "linuxptp"
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # clock_nanosleep()
help
The Linux PTP Project is the Precision Time Protocol
implementation according to IEEE standard 1588 for Linux.
@ -11,3 +12,6 @@ config BR2_PACKAGE_LINUXPTP
not a goal.
http://linuxptp.sourceforge.net/
comment "linuxptp needs a toolchain w/ NPTL"
depends on !BR2_TOOLCHAIN_HAS_THREADS_NPTL