forked from espressif/esp-idf
esp_netif: Add support for linux target as header only library
This commit is contained in:
committed by
David Čermák
parent
73dfe84bf2
commit
09f10f326a
@@ -1,3 +1,11 @@
|
|||||||
|
idf_build_get_property(target IDF_TARGET)
|
||||||
|
|
||||||
|
if(${target} STREQUAL "linux")
|
||||||
|
# Header only library for linux
|
||||||
|
idf_component_register(INCLUDE_DIRS include)
|
||||||
|
return()
|
||||||
|
endif()
|
||||||
|
|
||||||
set(srcs
|
set(srcs
|
||||||
"esp_netif_handlers.c"
|
"esp_netif_handlers.c"
|
||||||
"esp_netif_objects.c"
|
"esp_netif_objects.c"
|
||||||
|
Reference in New Issue
Block a user