[Buildroot] [PATCH 3/3] lm-sensors: sensors-detect requires perl
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Wed Jul 9 20:50:33 UTC 2014
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 at free-electrons.com>
---
package/lm-sensors/Config.in | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/lm-sensors/Config.in b/package/lm-sensors/Config.in
index 33c59fd..7065c4c 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
--
2.0.0
More information about the buildroot
mailing list