xtensa/asm2: Don't needlessly build asm2 sources

Non-asm2 devices without a generated SoC interrupt file will see a
compile failure due to the missing header.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
This commit is contained in:
Andy Ross 2018-02-13 10:35:53 -08:00 committed by Anas Nashif
commit 392b3b5aa6

View file

@ -3,6 +3,9 @@ zephyr_sources(
cpu_idle.c
fatal.c
window_vectors.S
)
zephyr_sources_ifdef(CONFIG_XTENSA_ASM2
xtensa-asm2-util.S
xtensa-asm2.c
)