mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
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
|
||||
"esp_netif_handlers.c"
|
||||
"esp_netif_objects.c"
|
||||
|
Reference in New Issue
Block a user