From 620befe9ea588fe6ebf10f539869365cb8f3e14d Mon Sep 17 00:00:00 2001
From: Martine Lenders <m.lenders@fu-berlin.de>
Date: Fri, 28 Sep 2018 11:59:19 +0200
Subject: [PATCH] lwip: move lwIP PSEUDOMODULES to pkg's Makefile.include

---
 makefiles/pseudomodules.inc.mk | 13 -------------
 pkg/lwip/Makefile.include      | 14 ++++++++++++++
 2 files changed, 14 insertions(+), 13 deletions(-)

diff --git a/makefiles/pseudomodules.inc.mk b/makefiles/pseudomodules.inc.mk
index 9a3b449159..8c13111f20 100644
--- a/makefiles/pseudomodules.inc.mk
+++ b/makefiles/pseudomodules.inc.mk
@@ -36,19 +36,6 @@ PSEUDOMODULES += lis2dh12_spi
 PSEUDOMODULES += log
 PSEUDOMODULES += log_printfnoformat
 PSEUDOMODULES += lora
-PSEUDOMODULES += lwip_arp
-PSEUDOMODULES += lwip_autoip
-PSEUDOMODULES += lwip_dhcp
-PSEUDOMODULES += lwip_ethernet
-PSEUDOMODULES += lwip_igmp
-PSEUDOMODULES += lwip_ipv6_autoconfig
-PSEUDOMODULES += lwip_ipv6_mld
-PSEUDOMODULES += lwip_raw
-PSEUDOMODULES += lwip_sixlowpan
-PSEUDOMODULES += lwip_stats
-PSEUDOMODULES += lwip_tcp
-PSEUDOMODULES += lwip_udp
-PSEUDOMODULES += lwip_udplite
 PSEUDOMODULES += mpu_stack_guard
 PSEUDOMODULES += nanocoap_%
 PSEUDOMODULES += netdev_default
diff --git a/pkg/lwip/Makefile.include b/pkg/lwip/Makefile.include
index 2d6f97bb2c..a51c7b94df 100644
--- a/pkg/lwip/Makefile.include
+++ b/pkg/lwip/Makefile.include
@@ -1,6 +1,20 @@
 INCLUDES += -I$(RIOTBASE)/pkg/lwip/include \
             -I$(PKGDIRBASE)/lwip/src/include
 
+PSEUDOMODULES += lwip_arp
+PSEUDOMODULES += lwip_autoip
+PSEUDOMODULES += lwip_dhcp
+PSEUDOMODULES += lwip_ethernet
+PSEUDOMODULES += lwip_igmp
+PSEUDOMODULES += lwip_ipv6_autoconfig
+PSEUDOMODULES += lwip_ipv6_mld
+PSEUDOMODULES += lwip_raw
+PSEUDOMODULES += lwip_sixlowpan
+PSEUDOMODULES += lwip_stats
+PSEUDOMODULES += lwip_tcp
+PSEUDOMODULES += lwip_udp
+PSEUDOMODULES += lwip_udplite
+
 ifneq (,$(filter lwip_contrib,$(USEMODULE)))
   DIRS += $(RIOTBASE)/pkg/lwip/contrib
 endif
-- 
GitLab