a482624320
It turns out that we can build cpulimit for or1k using musl-libc if we remove the inclusion of the problematic procfs.h header file which is not required at all. This is a backport of the following upstream pull request: https://github.com/opsengine/cpulimit/pull/110 Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
14 lines
384 B
Plaintext
14 lines
384 B
Plaintext
comment "cpulimit needs a toolchain w/ threads"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
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)
|
|
|
|
https://github.com/opsengine/cpulimit
|