From fbcfbf66b5c8c2753df69d6f7de2cc857cf69ce1 Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Wed, 9 Jul 2014 22:49:24 +0200 Subject: [PATCH] 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" --- 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 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 -- 2.30.2