package/systemd-bootchart: needs headers >= 3.17
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 13 Aug 2016 17:06:58 +0000 (19:06 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 14 Aug 2016 14:01:19 +0000 (16:01 +0200)
It uses GRND_NONBLOCK, introduced in 3.17.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Maxime Hadjinlian <maxime.hadjinlian@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/systemd-bootchart/Config.in

index 2a70b8d2626c812051d12af68250af005dc39915..8deb6b9b7bc2745719ac353dde8f408b18e7a317 100644 (file)
@@ -1,6 +1,7 @@
 config BR2_PACKAGE_SYSTEMD_BOOTCHART
        bool "systemd-bootchart"
        depends on BR2_INIT_SYSTEMD
+       depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17
        help
          systemd-bootchart is a tool, usually run at system startup,
          that collects the CPU load, disk load, memory usage, as well
@@ -19,3 +20,7 @@ config BR2_PACKAGE_SYSTEMD_BOOTCHART
          these options are enabled.
 
          http://www.freedesktop.org/software/systemd/man/systemd-bootchart.html
+
+comment "systemd-bootchart needs a toolchain w/ headers >= 3.17"
+       depends on BR2_INIT_SYSTEMD
+       depends on !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_17