components: use new component registration api

* Original commit: espressif/esp-idf@9eccd7c082
This commit is contained in:
Renz Christian Bagaporo
2022-05-27 17:44:23 +04:00
committed by suren-gabrielyan-espressif
parent 4912bef740
commit 7fb6686716
2 changed files with 8 additions and 11 deletions
+6 -8
View File
@@ -1,9 +1,7 @@
set(COMPONENT_SRCS "mdns.c"
"mdns_console.c"
"mdns_networking.c")
set(COMPONENT_ADD_INCLUDEDIRS "include")
set(COMPONENT_PRIV_INCLUDEDIRS "private_include")
set(COMPONENT_REQUIRES lwip mbedtls console tcpip_adapter)
register_component()
idf_component_register(SRCS "mdns.c"
"mdns_console.c"
"mdns_networking.c"
INCLUDE_DIRS "include"
PRIV_INCLUDE_DIRS "private_include"
REQUIRES lwip mbedtls console tcpip_adapter)
+2 -3
View File
@@ -1,3 +1,2 @@
set(COMPONENT_SRCDIRS ".")
set(COMPONENT_PRIV_REQUIRES unity test_utils mdns)
register_component()
idf_component_register(SRC_DIRS "."
PRIV_REQUIRES unity test_utils mdns)