[Buildroot] [PATCH 1/1] sane-backends: disable static configuration

Baruch Siach baruch at tkos.co.il
Tue Nov 29 16:05:30 UTC 2016


Hi Frank,

On Tue, Nov 29, 2016 at 09:35:55AM -0500, Frank Hunleth wrote: 
> diff --git a/package/sane-backends/Config.in b/package/sane-backends/Config.in
> index 8156e85..b1771e7 100644
> --- a/package/sane-backends/Config.in
> +++ b/package/sane-backends/Config.in
> @@ -1,6 +1,7 @@
>  config BR2_PACKAGE_SANE_BACKENDS
>  	bool "sane-backends"
>  	depends on BR2_USE_MMU # fork()
> +	depends on !BR2_STATIC_LIBS
>  	help
>  	  SANE - Scanner Access Now Easy
>  
> @@ -9,3 +10,6 @@ config BR2_PACKAGE_SANE_BACKENDS
>  	  Backends are included automatically based on the libraries that have
>  	  been selected: libusb, jpeg, tiff, avahi (with dbus and libglib2),
>  	  and netsnmp.
> +
> +comment "sane-backends needs a toolchain w/ dynamic library"
> +	depends on BR2_STATIC_LIBS

As BR2_PACKAGE_SANE_BACKENDS depends on BR2_USE_MMU, this comment also needs 
the same dependency. Otherwise the comment is shown when the target arch does 
not support this package.

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -



More information about the buildroot mailing list