forked from espressif/esp-idf
perfmon: fix xtensa_perfmon build target
This commit is contained in:
committed by
Song Ruo Jing
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"
|
||||||
|
Reference in New Issue
Block a user