summaryrefslogtreecommitdiff
path: root/package/stress-ng
diff options
context:
space:
mode:
authorJulien CORJON <corjon.j@ecagroup.com>2015-09-14 09:43:45 +0200
committerPeter Korsgaard <peter@korsgaard.com>2015-09-14 14:36:19 +0200
commit8064b82c2a0cde40220457eb06ac04b8a1621dd3 (patch)
tree7a41495b971720b112c167f792b1a9a67d6c35f2 /package/stress-ng
parent821f3793149bb20abe89b55d21a1242b894adb8a (diff)
stress-ng: Depend on kernel headers >= 3.3
perf.c need PERF_COUNT_HW_REF_CPU_CYCLES generic PMU event which is available only since 3.3 kernel version Fixes: http://autobuild.buildroot.net/results/88909b118dc927f31ed5c3b5f3513734a88085a9 http://autobuild.buildroot.net/results/dac6a85fdd721b959175caf5629b91dee717c3c6 http://autobuild.buildroot.net/results/88909b118dc927f31ed5c3b5f3513734a88085a9 Signed-off-by: Julien Corjon <corjon.j@ecagroup.com> Reviewed-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Tested-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/stress-ng')
-rw-r--r--package/stress-ng/Config.in8
1 files changed, 4 insertions, 4 deletions
diff --git a/package/stress-ng/Config.in b/package/stress-ng/Config.in
index cdf9984ca..1e475b19a 100644
--- a/package/stress-ng/Config.in
+++ b/package/stress-ng/Config.in
@@ -4,8 +4,8 @@ config BR2_PACKAGE_STRESS_NG
# 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
+ # perf.c needs PERF_COUNT_HW_REF_CPU_CYCLES
+ depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3
depends on !BR2_microblaze # keyutils
depends on !BR2_STATIC_LIBS # keyutils
select BR2_PACKAGE_KEYUTILS # stress-key.c needs keyutils.h
@@ -18,8 +18,8 @@ config BR2_PACKAGE_STRESS_NG
http://kernel.ubuntu.com/~cking/stress-ng/
-comment "stress-ng needs a glibc toolchain w/ dynamic library, headers >= 3.0"
+comment "stress-ng needs a glibc toolchain w/ dynamic library, headers >= 3.3"
depends on !BR2_microblaze
depends on BR2_USE_MMU
- depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
+ depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_3 \
|| !BR2_TOOLCHAIN_USES_GLIBC