Browse Source

package/cpulimit: Added missing dependency on threads

cpulimit requires a toolchain supporting threads, see the following
build failure reports:

http://autobuild.buildroot.net/results/55e1af96f01a0786b4a95665736453db72be9c13
http://autobuild.buildroot.net/results/2e50face429553a6431ba5e8cda9527e5c876699

Reported-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Fixes: 9e8e80d1e335 ("package: Add cpulimit")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Florian Fainelli 3 years ago
parent
commit
21ab3e720c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/cpulimit/Config.in

+ 1 - 0
package/cpulimit/Config.in

@@ -1,6 +1,7 @@
 config BR2_PACKAGE_CPULIMIT
 	bool "cpulimit"
 	depends on BR2_USE_MMU # fork()
+	depends on BR2_TOOLCHAIN_HAS_THREADS
 	help
 	  Cpulimit is a tool which limits the CPU usage of a process
 	  (expressed in percentage, not in CPU time)