[Buildroot] [PATCH V2 5/9] package/gcc: Add C-SKY support
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sun May 26 20:53:35 UTC 2019
Hello,
On Wed, 8 May 2019 16:58:31 +0800
guoren at kernel.org wrote:
> diff --git a/package/gcc/Config.in.host b/package/gcc/Config.in.host
> index 8e22a4c..c123a84 100644
> --- a/package/gcc/Config.in.host
> +++ b/package/gcc/Config.in.host
> @@ -3,6 +3,7 @@ comment "GCC Options"
> choice
> prompt "GCC compiler Version"
> default BR2_GCC_VERSION_ARC if BR2_arc
> + default BR2_GCC_VERSION_CSKY if BR2_csky
> default BR2_GCC_VERSION_OR1K if BR2_or1k
> default BR2_GCC_VERSION_7_X
> help
> @@ -14,6 +15,12 @@ config BR2_GCC_VERSION_ARC
> depends on BR2_arc
> select BR2_TOOLCHAIN_GCC_AT_LEAST_8
>
> +config BR2_GCC_VERSION_CSKY
> + bool "gcc csky"
> + # Only supported architecture
> + depends on BR2_csky
> + select BR2_TOOLCHAIN_GCC_AT_LEAST_6
I don't see what will prevent me from selecting an upstream gcc 6.x or
7.x for C-SKY here. Are you sure you should not add a bunch of "depends
on !BR2_csky" to the other gcc version options ?
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list