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: 9e8e80d1e3 ("package: Add cpulimit")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Florian Fainelli 2022-05-07 16:10:46 -07:00 committed by Peter Korsgaard
parent 688a796205
commit 21ab3e720c

View File

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