xtensa: add config for toolchain version

Use TOOLCHAIN_VARIANT to indicate what XCC toolchain release
to use.

Set a reasonable default for the RG-2016.4 toolchain release.
D_108mini, D_212GP, D_233L are only in RF-2016.4, set that
appropriately.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
Andrew Boie 2017-05-17 10:03:14 -07:00 committed by Anas Nashif
commit 956089bcae
4 changed files with 16 additions and 0 deletions

View file

@ -88,6 +88,10 @@ config IRQ_OFFLOAD_INTNUM
Please note that in order for IRQ offload to work correctly the selected Please note that in order for IRQ offload to work correctly the selected
interrupt shall have its priority shall not exceed XCHAL_EXCM_LEVEL. interrupt shall have its priority shall not exceed XCHAL_EXCM_LEVEL.
config TOOLCHAIN_VARIANT
string
default RG-2016.4-linux
source "arch/xtensa/soc/*/Kconfig" source "arch/xtensa/soc/*/Kconfig"
endmenu endmenu

View file

@ -13,4 +13,8 @@ config SOC
config IRQ_OFFLOAD_INTNUM config IRQ_OFFLOAD_INTNUM
default 7 default 7
config TOOLCHAIN_VARIANT
string
default RF-2016.4-linux
endif endif

View file

@ -13,4 +13,8 @@ config SOC
config IRQ_OFFLOAD_INTNUM config IRQ_OFFLOAD_INTNUM
default 7 default 7
config TOOLCHAIN_VARIANT
string
default RF-2016.4-linux
endif endif

View file

@ -13,4 +13,8 @@ config SOC
config IRQ_OFFLOAD_INTNUM config IRQ_OFFLOAD_INTNUM
default 7 default 7
config TOOLCHAIN_VARIANT
string
default RF-2016.4-linux
endif endif