build system: re-add -Wno-format as private flag for some components

This commit is contained in:
Ivan Grokhotkov
2022-08-03 16:42:47 +04:00
committed by Alexey Lapshin
parent 879352b7f3
commit 401c10ecfb
93 changed files with 134 additions and 2 deletions
+3
View File
@@ -52,6 +52,9 @@ idf_component_register(SRCS "${srcs}"
INCLUDE_DIRS ${include}
REQUIRES esp_event # For using "ESP_EVENT_DECLARE_BASE" in header file
PRIV_REQUIRES ${priv_requires})
if(CONFIG_ETH_ENABLED)
target_compile_options(${COMPONENT_LIB} PRIVATE "-Wno-format")
endif()
if(CONFIG_ETH_ENABLED)
if(CONFIG_ETH_USE_SPI_ETHERNET)