stress-ng: Depend on kernel headers >= 3.3
authorJulien CORJON <corjon.j@ecagroup.com>
Mon, 14 Sep 2015 07:43:45 +0000 (09:43 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Mon, 14 Sep 2015 12:36:19 +0000 (14:36 +0200)
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>
package/stress-ng/Config.in

index cdf9984cad2729465b65ea5b7034955408c16531..1e475b19a015e18fc5782e6c1d95778335757633 100644 (file)
@@ -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