From c58cb6ddfbed2ddc20968a6032d3a64007fc0fdc Mon Sep 17 00:00:00 2001 From: "Martine S. Lenders" Date: Fri, 28 Aug 2020 16:36:13 +0200 Subject: [PATCH] gnrc: use gnrc_nettype_* as dependency wherever possible. --- Makefile.dep | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile.dep b/Makefile.dep index 1e2081fc54..eb0a2663e9 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -311,21 +311,27 @@ endif ifneq (,$(filter gnrc_ndp,$(USEMODULE))) USEMODULE += gnrc_icmpv6 + USEMODULE += gnrc_ipv6_hdr USEMODULE += gnrc_netif endif ifneq (,$(filter gnrc_icmpv6_echo,$(USEMODULE))) USEMODULE += gnrc_icmpv6 + USEMODULE += gnrc_ipv6_hdr + USEMODULE += gnrc_netif_hdr endif ifneq (,$(filter gnrc_icmpv6_error,$(USEMODULE))) USEMODULE += gnrc_icmpv6 + USEMODULE += gnrc_ipv6_hdr + USEMODULE += gnrc_netif_hdr endif ifneq (,$(filter gnrc_icmpv6,$(USEMODULE))) USEMODULE += inet_csum - USEMODULE += gnrc_ipv6 + USEMODULE += ipv6_hdr USEMODULE += gnrc_nettype_icmpv6 + USEMODULE += gnrc_nettype_ipv6 USEMODULE += icmpv6 endif @@ -347,7 +353,7 @@ ifneq (,$(filter gnrc_ipv6_ext_rh,$(USEMODULE))) endif ifneq (,$(filter gnrc_ipv6_ext,$(USEMODULE))) - USEMODULE += gnrc_ipv6 + USEMODULE += gnrc_nettype_ipv6 USEMODULE += gnrc_nettype_ipv6_ext endif