nxp_adsp: Do not use xtensa hal with xcc-clang

Do not use XTENSA_HAL when building with xt-clang, instead use the HAL
that is provided by the toolchain, similarly to xt-xcc.

Signed-off-by: Paul Olaru <paul.olaru@nxp.com>
This commit is contained in:
Paul Olaru 2023-04-28 13:03:44 +03:00 committed by David Leach
parent af823425ac
commit fa5117225a
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ config SOC_SERIES_NXP_IMX8
bool "NXP i.MX8"
select SOC_FAMILY_NXP_ADSP
select XTENSA
select XTENSA_HAL if "$(ZEPHYR_TOOLCHAIN_VARIANT)" != "xcc"
select XTENSA_HAL if ("$(ZEPHYR_TOOLCHAIN_VARIANT)" != "xcc" && "$(ZEPHYR_TOOLCHAIN_VARIANT)" != "xt-clang")
select XTENSA_RESET_VECTOR
select XTENSA_USE_CORE_CRT1
select ATOMIC_OPERATIONS_BUILTIN

View file

@ -5,7 +5,7 @@ config SOC_SERIES_NXP_IMX8M
bool "NXP i.MX8M"
select SOC_FAMILY_NXP_ADSP
select XTENSA
select XTENSA_HAL if "$(ZEPHYR_TOOLCHAIN_VARIANT)" != "xcc"
select XTENSA_HAL if ("$(ZEPHYR_TOOLCHAIN_VARIANT)" != "xcc" && "$(ZEPHYR_TOOLCHAIN_VARIANT)" != "xt-clang")
select XTENSA_RESET_VECTOR
select XTENSA_USE_CORE_CRT1
select ATOMIC_OPERATIONS_BUILTIN