mirror of
https://github.com/espressif/esp-idf.git
synced 2024-09-19 14:26:01 -04:00
perfmon: fix xtensa_perfmon build target
This commit is contained in:
parent
82f2ad9b6d
commit
d6d44b4781
@ -1,6 +1,7 @@
|
|||||||
idf_build_get_property(target IDF_TARGET)
|
idf_build_get_property(arch IDF_TARGET_ARCH)
|
||||||
if(${target} STREQUAL "esp32c3" OR ${target} STREQUAL "esp32h2" OR ${target} STREQUAL "esp32c2")
|
|
||||||
return()
|
if(NOT "${arch}" STREQUAL "xtensa")
|
||||||
|
return()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(xtensa_perfmon_srcs "xtensa_perfmon_access.c"
|
set(xtensa_perfmon_srcs "xtensa_perfmon_access.c"
|
||||||
|
Loading…
Reference in New Issue
Block a user