[Buildroot] [PATCH v6 6/7] arch: toolchain: Install blackfin FDPIC and FLAT libraries in external toolchain makefile.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Thu May 2 10:01:20 UTC 2013


Dear Sonic Zhang,

On Thu, 2 May 2013 15:36:11 +0800, Sonic Zhang wrote:

> ---------------------------------
> config BR2_BFIN_INSTALL_FLAT_SHARED
>        bool "Install FLAT shared libraries"
>        depends on BR2_bfin && !BR2_BINFMT_FLAT_SHARED
>        default y if BR2_BINFMT_FLAT_SHARED
> ---------------------------------
> 
> doesn't work. In the later case, if BR2_BINFMT_FLAT_SHARED is
> selected, option BR2_BFIN_INSTALL_FLAT_SHARED is not set to y by
> default. Only the former case works correctly.

Wasn't my suggestion:

config BR2_BFIN_INSTALL_FLAT_SHARED
        bool "Install FLAT shared libraries" if !BR2_BINFMT_FLAT_SHARED
        depends on BR2_bfin
        default y if BR2_BINFMT_FLAT_SHARED

So: option enabled by default when BR2_BINFMT_FLAT_SHARED, and the
prompt is shown to optionally enable/disable it when
BR2_BINFMT_FLAT_SHARED is not selected.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list