Add Linux TAP
This commit is contained in:
+16
-5
@@ -1,8 +1,19 @@
|
||||
idf_build_get_property(target IDF_TARGET)
|
||||
|
||||
set(requires
|
||||
arp_monitor
|
||||
device_list
|
||||
web_server
|
||||
esp_netif
|
||||
esp_event
|
||||
)
|
||||
|
||||
if("${target}" STREQUAL "linux")
|
||||
list(APPEND requires protocol_examples_tapif_io)
|
||||
endif()
|
||||
|
||||
idf_component_register(
|
||||
SRCS "main.c"
|
||||
INCLUDE_DIRS "."
|
||||
REQUIRES
|
||||
arp_monitor
|
||||
device_list
|
||||
web_server
|
||||
)
|
||||
REQUIRES ${requires}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user