package/nqptp: needs threads

Fixes:
https://autobuild.buildroot.net/results/5b5/5b5eac85ca0221596ee12ea5e23acde46c6b7edb/

checking for pthread_create in -lpthread... no
configure: error: pthread library needed

NPTL support is not needed, this defconfig builds:

BR2_TOOLCHAIN_BUILDROOT_UCLIBC=y
BR2_PTHREADS=y
BR2_GCC_VERSION_15_X=y
BR2_PACKAGE_NQPTP=y

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Bernd Kuhls
2026-01-07 15:03:40 +01:00
committed by Thomas Petazzoni
parent f3346846a9
commit 73772bc5ea
+5
View File
@@ -1,6 +1,7 @@
config BR2_PACKAGE_NQPTP
bool "nqptp"
depends on BR2_USE_MMU
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_LIBCONFIG
help
nqptp is a daemon that monitors timing data from PTP clocks
@@ -11,3 +12,7 @@ config BR2_PACKAGE_NQPTP
timing information for AirPlay 2 operation.
https://github.com/mikebrady/nqptp
comment "nqptp needs a toolchain w/ threads"
depends on BR2_USE_MMU
depends on !BR2_TOOLCHAIN_HAS_THREADS