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:
parent
cc9b64080a
commit
08253db46b
9 changed files with 29 additions and 22 deletions
|
@ -3,4 +3,5 @@
|
|||
# Copyright (c) 2020 Intel Corporation
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
|
||||
add_subdirectory(common)
|
||||
|
|
|
@ -7,6 +7,10 @@ config SOC_SERIES
|
|||
string
|
||||
default "cavs_v15"
|
||||
|
||||
config SOC_TOOLCHAIN_NAME
|
||||
string
|
||||
default "intel_apl_adsp"
|
||||
|
||||
config SOC
|
||||
string
|
||||
default "intel_apl_adsp" if SOC_INTEL_CAVS_APL
|
||||
|
|
|
@ -7,6 +7,10 @@ config SOC_SERIES
|
|||
string
|
||||
default "cavs_v18"
|
||||
|
||||
config SOC_TOOLCHAIN_NAME
|
||||
string
|
||||
default "intel_s1000"
|
||||
|
||||
config SOC
|
||||
string
|
||||
default "intel_cavs_18"
|
||||
|
|
|
@ -7,6 +7,10 @@ config SOC_SERIES
|
|||
string
|
||||
default "cavs_v20"
|
||||
|
||||
config SOC_TOOLCHAIN_NAME
|
||||
string
|
||||
default "intel_s1000"
|
||||
|
||||
config SOC
|
||||
string
|
||||
default "intel_cavs_20"
|
||||
|
|
|
@ -7,6 +7,10 @@ config SOC_SERIES
|
|||
string
|
||||
default "cavs_v25"
|
||||
|
||||
config SOC_TOOLCHAIN_NAME
|
||||
string
|
||||
default "intel_s1000"
|
||||
|
||||
config SOC
|
||||
string
|
||||
default "intel_cavs_25"
|
||||
|
|
|
@ -12,6 +12,10 @@ config SOC_SERIES
|
|||
string
|
||||
default "intel_s1000"
|
||||
|
||||
config SOC_TOOLCHAIN_NAME
|
||||
string
|
||||
default "intel_s1000"
|
||||
|
||||
config IRQ_OFFLOAD_INTNUM
|
||||
default 0
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue