lm-sensors: sensors-detect requires perl
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 9 Jul 2014 20:49:24 +0000 (22:49 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 15 Jul 2014 19:19:50 +0000 (21:19 +0200)
The sensors-detect program is in fact a Perl script, so it won't run
on the target unless Perl is enabled in the configuration.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
package/lm-sensors/Config.in

index 33c59fd744b48251e0b985a65717907e62f1fb5b..7065c4cb1e7cad4d746979c375b54717ab2163e0 100644 (file)
@@ -44,8 +44,12 @@ config BR2_PACKAGE_LM_SENSORS_PWMCONFIG
 
 config BR2_PACKAGE_LM_SENSORS_SENSORS_DETECT
        bool "sensors-detect"
+       depends on BR2_PACKAGE_PERL
        help
          Sensors-detect is an interactive program for detecting
          available hardware monitoring chips.
 
+comment "sensors-detect needs perl"
+       depends on !BR2_PACKAGE_PERL
+
 endif