[Buildroot] [PATCH 3/3] lm-sensors: sensors-detect requires perl

Yann E. MORIN yann.morin.1998 at free.fr
Wed Jul 9 21:41:38 UTC 2014


Thomas, All,

On 2014-07-09 22:50 +0200, Thomas Petazzoni spake thusly:
> 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>

Reviewed-by: "Yann E. MORIN" <yann.morin.1998 at free.fr>

Regards,
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 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
> 
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'



More information about the buildroot mailing list