package/linuxptp: needs threads
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Sun, 6 Sep 2020 10:20:48 +0000 (12:20 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Sun, 6 Sep 2020 11:46:10 +0000 (13:46 +0200)
linuxptp needs threads since version 3.0 and
https://sourceforge.net/p/linuxptp/code/ci/7486e6e4e1b13bd9bceb23c40ace7e048a88b8e5

Fixes:
 - http://autobuild.buildroot.org/results/421dd595f0fd3c0af099cd2991ee94d4edd272e1

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Acked-by: Heiko Thiery <heiko.thiery@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/linuxptp/Config.in

index 3e18a0cb1306cd013f6aa67a3cd901183031c8d9..c88b7a06196f277c2654b14d84daa839b901568b 100644 (file)
@@ -1,5 +1,6 @@
 config BR2_PACKAGE_LINUXPTP
        bool "linuxptp"
+       depends on BR2_TOOLCHAIN_HAS_THREADS
        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/ threads"
+       depends on !BR2_TOOLCHAIN_HAS_THREADS