sconeserver: use BR2_TOOLCHAIN_HAS_THREADS_NPTL
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 18 Feb 2014 21:09:02 +0000 (22:09 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Sat, 22 Feb 2014 22:40:44 +0000 (23:40 +0100)
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/sconeserver/Config.in

index ccb9c00d00c5bef04dc3fd21de0a61edba9d85cb..76c3d917becda896f72794b170f86d27e0c8664f 100644 (file)
@@ -1,11 +1,7 @@
 menuconfig BR2_PACKAGE_SCONESERVER
        bool "sconeserver"
        depends on BR2_INSTALL_LIBSTDCPP
-       depends on BR2_TOOLCHAIN_HAS_THREADS
-       # pthread_setschedprio needs NPTL
-       depends on !BR2_PTHREADS && !BR2_PTHREADS_OLD
-       # no NPTL for these archs
-       depends on !BR2_avr32 && !BR2_xtensa && !BR2_arc
+       depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
        select BR2_PACKAGE_PCRE
        help
          Sconeserver is a modular, object-orientated and extremely versatile
@@ -102,7 +98,5 @@ comment "ui module requires X.org"
 
 endif # BR2_PACKAGE_SCONESERVER
 
-comment "sconeserver needs a toolchain w/ C++, threads"
-       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS)
-       depends on !BR2_PTHREADS && !BR2_PTHREADS_OLD
-       depends on !BR2_avr32 && !BR2_xtensa && !BR2_arc
+comment "sconeserver needs a toolchain w/ C++, NPTL"
+       depends on !(BR2_INSTALL_LIBSTDCPP && BR2_TOOLCHAIN_HAS_THREADS_NPTL)