xtensa: set toolchain variant per SoC

The toolchain variant per SoC is not always the soc name, so set this
per SoC and use this in the SDK instead of hardcoding the soc name.

Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
Anas Nashif 2020-10-30 08:55:40 -04:00
commit 08253db46b
9 changed files with 29 additions and 22 deletions

View file

@ -9,6 +9,10 @@ if SOC_XTENSA_SAMPLE_CONTROLLER
config SOC
default "sample_controller"
config SOC_TOOLCHAIN_NAME
string
default "sample_controller"
config IRQ_OFFLOAD_INTNUM
default 7