[Buildroot] [PATCH v5 2/7] arch: Add blackfin CPU choice.

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Apr 16 18:52:41 UTC 2013


Dear Sonic Zhang,

On Fri, 12 Apr 2013 18:18:24 +0800, Sonic Zhang wrote:
> From: Sonic Zhang <sonic.zhang at analog.com>
> 
> is patch adds a Target CPU configuration option and uses it to select a -m
> option for gcc.
> 
> Signed-off-by: Sonic Zhang <sonic.zhang at analog.com>
> ---
>  arch/Config.in.bfin |   97 +++++++++++++++++++++++++++++++++++++++++++++++----
>  1 files changed, 90 insertions(+), 7 deletions(-)
> 
> diff --git a/arch/Config.in.bfin b/arch/Config.in.bfin
> index 0b137ae..ac96620 100644
> --- a/arch/Config.in.bfin
> +++ b/arch/Config.in.bfin
> @@ -1,12 +1,65 @@
>  choice
> -	prompt "Target ABI"
> +	prompt "Target CPU"
>  	depends on BR2_bfin
> -	default BR2_BFIN_FDPIC
> -config BR2_BFIN_FDPIC
> -	bool "FDPIC"
> -config BR2_BFIN_FLAT
> -	bool "FLAT"
> -	select BR2_PREFER_STATIC_LIB

Those options (BR2_BFIN_FPIC, BR2_BFIN_FLAT) should have been removed
in PATCH 1, and added in Config.in.legacy (main Buildroot directory) to
ensure that users experience a smooth transition from the old options
to the new ones.

Once this is fixed, you have my Acked-by for this patch.

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