summaryrefslogtreecommitdiff
path: root/package/stress-ng/Config.in
diff options
context:
space:
mode:
Diffstat (limited to 'package/stress-ng/Config.in')
-rw-r--r--package/stress-ng/Config.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/stress-ng/Config.in b/package/stress-ng/Config.in
new file mode 100644
index 000000000..cdf9984ca
--- /dev/null
+++ b/package/stress-ng/Config.in
@@ -0,0 +1,25 @@
+config BR2_PACKAGE_STRESS_NG
+ bool "stress-ng"
+ depends on BR2_USE_MMU # fork()
+ # disabled on musl: stress-malloc.c needs mallopt() and M_MMAP_THRESHOLD
+ # disabled on uClibc: stress-aio.c needs aio.h
+ depends on BR2_TOOLCHAIN_USES_GLIBC
+ # perf.c needs PERF_COUNT_HW_STALLED_CYCLES_FRONTEND
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
+ depends on !BR2_microblaze # keyutils
+ depends on !BR2_STATIC_LIBS # keyutils
+ select BR2_PACKAGE_KEYUTILS # stress-key.c needs keyutils.h
+ select BR2_PACKAGE_ATTR # stress-xattr.c needs xattr.h
+ help
+ stress-ng will stress test a computer system in various
+ selectable ways. It was designed to exercise various physical
+ subsystems of a computer as well as the various operating
+ system kernel interfaces.
+
+ http://kernel.ubuntu.com/~cking/stress-ng/
+
+comment "stress-ng needs a glibc toolchain w/ dynamic library, headers >= 3.0"
+ depends on !BR2_microblaze
+ depends on BR2_USE_MMU
+ depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
+ || !BR2_TOOLCHAIN_USES_GLIBC