From: Thomas Petazzoni Date: Wed, 9 Jul 2014 20:49:24 +0000 (+0200) Subject: lm-sensors: sensors-detect requires perl X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fbcfbf66b5c8c2753df69d6f7de2cc857cf69ce1;p=buildroot.git lm-sensors: sensors-detect requires perl 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 Reviewed-by: "Yann E. MORIN" --- diff --git a/package/lm-sensors/Config.in b/package/lm-sensors/Config.in index 33c59fd744..7065c4cb1e 100644 --- a/package/lm-sensors/Config.in +++ b/package/lm-sensors/Config.in @@ -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