Просмотр исходного кода

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>
Bernd Kuhls 1 неделя назад
Родитель
Сommit
73772bc5ea
1 измененных файлов с 5 добавлено и 0 удалено
  1. 5 0
      package/nqptp/Config.in

+ 5 - 0
package/nqptp/Config.in

@@ -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