[Buildroot] [PATCH 3/3] xtensa: disable libffi for Xtensa

Baruch Siach baruch at tkos.co.il
Wed Nov 21 08:35:21 UTC 2012


Hi Chris,

On Tue, Nov 20, 2012 at 11:01:49AM -0800, Chris Zankel wrote:
> Xtensa currently doesn't support libffi.
> 
> Signed-off-by: Chris Zankel <chris at zankel.net>
> ---
>  package/libffi/Config.in |    1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/package/libffi/Config.in b/package/libffi/Config.in
> index 7211f8f..4afb669 100644
> --- a/package/libffi/Config.in
> +++ b/package/libffi/Config.in
> @@ -1,5 +1,6 @@
>  config BR2_PACKAGE_LIBFFI
>  	bool "libffi"
> +	depends on !BR2_xtensa
>  	help
>  	  The libffi library provides a portable, high level
>  	  programming interface to various calling conventions. This

You need to recursively propagate this 'depends' to all packages selecting 
BR2_PACKAGE_LIBFFI. This is due to a limitation of kconfig that doesn't check 
whether a package is actually selectable.

baruch

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


More information about the buildroot mailing list