From 29d60c8c2fe70a58ccbb4d71245122ab37f60511 Mon Sep 17 00:00:00 2001 From: "Martine S. Lenders" Date: Mon, 31 Aug 2020 15:23:51 +0200 Subject: [PATCH] sock_util: remove sock_udp dependency `sock_util` only uses the `sock_udp_ep_t` type which does not require `sock_udp` to be pulled in. --- Makefile.dep | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Makefile.dep b/Makefile.dep index edb1e2b1eb..18ccf4d636 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -850,6 +850,7 @@ ifneq (,$(filter sock_async_event,$(USEMODULE))) endif ifneq (,$(filter sock_dns,$(USEMODULE))) + USEMODULE += sock_udp USEMODULE += sock_util USEMODULE += posix_headers endif @@ -857,7 +858,6 @@ endif ifneq (,$(filter sock_util,$(USEMODULE))) USEMODULE += posix_inet USEMODULE += fmt - USEMODULE += sock_udp endif ifneq (,$(filter event_%,$(USEMODULE))) @@ -905,6 +905,7 @@ ifneq (,$(filter gcoap,$(USEMODULE))) USEMODULE += nanocoap USEMODULE += sock_async USEMODULE += sock_async_event + USEMODULE += sock_udp USEMODULE += sock_util USEMODULE += event_callback USEMODULE += event_timeout