mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 11:10:54 +03:00
log: support ESP_LOG_BUFFER* functions for Linux target
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
idf_build_get_property(target IDF_TARGET)
|
||||
set(srcs "log.c")
|
||||
set(srcs "log.c" "log_buffers.c")
|
||||
set(priv_requires "")
|
||||
if(${target} STREQUAL "linux")
|
||||
# We leave log buffers out for now on Linux since it's rarely used. Explicitely add esp_rom to Linux target
|
||||
# since we don't have the common components there yet.
|
||||
list(APPEND srcs "log_linux.c")
|
||||
else()
|
||||
list(APPEND srcs "log_buffers.c")
|
||||
list(APPEND priv_requires soc hal esp_hw_support)
|
||||
endif()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user