[Buildroot] [PATCH V2 1/9] arch/csky: Add VDSP and FLOAT_ABI compiler options.
Guo Ren
guoren at kernel.org
Mon May 13 05:46:23 UTC 2019
Ping, Are there any wrong with the patchsets ?
Best Regards
Guo Ren
On Wed, May 08, 2019 at 04:58:27PM +0800, guoren at kernel.org wrote:
> From: Guo Ren <ren_guo at c-sky.com>
>
> We never use BR2_CSKY_DSP in buildroot and we use VDSP instead. For
> float compiling, we need -mfloat-abi=xxx.
>
> Signed-off-by: Guo Ren <ren_guo at c-sky.com>
> ---
> arch/Config.in.csky | 10 +++++++---
> 1 file changed, 7 insertions(+), 3 deletions(-)
>
> diff --git a/arch/Config.in.csky b/arch/Config.in.csky
> index e88e4e2..4622eb9 100644
> --- a/arch/Config.in.csky
> +++ b/arch/Config.in.csky
> @@ -23,9 +23,13 @@ config BR2_CSKY_FPU
> Floating-Point Coprocessor or if you don't need FPU support
> for your user-space programs.
>
> -config BR2_CSKY_DSP
> - bool "Enable DSP enhanced instructions"
> - depends on BR2_ck810 || BR2_ck807
> +config BR2_CSKY_VDSP
> + bool "Enable VDSP 3.0 enhanced instructions Co-processor"
> + depends on BR2_ck860
> +
> +config BR2_GCC_TARGET_FLOAT_ABI
> + default "soft" if !BR2_CSKY_FPU
> + default "hard" if BR2_CSKY_FPU
>
> config BR2_ARCH
> default "csky"
> --
> 2.7.4
>
More information about the buildroot
mailing list