From 3081ae9c389f33250480b53a804add59a3cc38e7 Mon Sep 17 00:00:00 2001 From: "Martine S. Lenders" Date: Mon, 31 Aug 2020 15:24:49 +0200 Subject: [PATCH] sock: remove dependency of implementation on API Removing a cyclic dependencies. --- Makefile.dep | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Makefile.dep b/Makefile.dep index 18ccf4d636..5863da4826 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -143,18 +143,12 @@ ifneq (,$(filter gnrc_sock_%,$(USEMODULE))) endif ifneq (,$(filter gnrc_sock_async,$(USEMODULE))) - USEMODULE += sock_async USEMODULE += gnrc_netapi_callbacks endif -ifneq (,$(filter gnrc_sock_ip,$(USEMODULE))) - USEMODULE += sock_ip -endif - ifneq (,$(filter gnrc_sock_udp,$(USEMODULE))) USEMODULE += gnrc_udp USEMODULE += random # to generate random ports - USEMODULE += sock_udp endif ifneq (,$(filter gnrc_sock,$(USEMODULE))) @@ -557,17 +551,14 @@ endif ifneq (,$(filter lwip_sock_ip,$(USEMODULE))) USEMODULE += lwip_raw - USEMODULE += sock_ip endif ifneq (,$(filter lwip_sock_tcp,$(USEMODULE))) USEMODULE += lwip_tcp - USEMODULE += sock_tcp endif ifneq (,$(filter lwip_sock_udp,$(USEMODULE))) USEMODULE += lwip_udp - USEMODULE += sock_udp endif ifneq (,$(filter lwip_%,$(USEMODULE))) @@ -1024,7 +1015,6 @@ endif ifneq (,$(filter tinydtls_sock_dtls, $(USEMODULE))) USEPKG += tinydtls - USEMODULE += sock_dtls endif ifneq (,$(filter sock_dtls, $(USEMODULE)))