perfmon: fix xtensa_perfmon build target

pull/9715/head
wuzhenghui 2022-07-13 14:42:07 +08:00 zatwierdzone przez Song Ruo Jing
rodzic 82f2ad9b6d
commit d6d44b4781
1 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -1,6 +1,7 @@
idf_build_get_property(target IDF_TARGET)
if(${target} STREQUAL "esp32c3" OR ${target} STREQUAL "esp32h2" OR ${target} STREQUAL "esp32c2")
return()
idf_build_get_property(arch IDF_TARGET_ARCH)
if(NOT "${arch}" STREQUAL "xtensa")
return()
endif()
set(xtensa_perfmon_srcs "xtensa_perfmon_access.c"