cmake: add support for NXP i.MX
Xtensa GCC needs a different toolchain per SOC, so add support for i.MX8. If SOC_SERIES is imx8, that's for i.MX8QM and i.MX8QXP. If SOC_SERIES is imx8m, that's for i.MX8MP. Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
This commit is contained in:
parent
9dcd562608
commit
e310367c09
1 changed files with 4 additions and 0 deletions
|
@ -27,6 +27,10 @@ if("${ARCH}" STREQUAL "xtensa")
|
||||||
set(SR_XT_TC_SOC intel_byt_adsp)
|
set(SR_XT_TC_SOC intel_byt_adsp)
|
||||||
elseif("${SOC_SERIES}" STREQUAL "broadwell_adsp")
|
elseif("${SOC_SERIES}" STREQUAL "broadwell_adsp")
|
||||||
set(SR_XT_TC_SOC intel_bdw_adsp)
|
set(SR_XT_TC_SOC intel_bdw_adsp)
|
||||||
|
elseif("${SOC_SERIES}" STREQUAL "imx8")
|
||||||
|
set(SR_XT_TC_SOC nxp_imx_adsp)
|
||||||
|
elseif("${SOC_SERIES}" STREQUAL "imx8m")
|
||||||
|
set(SR_XT_TC_SOC nxp_imx8m_adsp)
|
||||||
else()
|
else()
|
||||||
message(FATAL_ERROR "Not compiler set for SOC_SERIES ${SOC_SERIES}")
|
message(FATAL_ERROR "Not compiler set for SOC_SERIES ${SOC_SERIES}")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue