From 0a4781536e6d69b80dd7f0b6193d2e1baef68f8d Mon Sep 17 00:00:00 2001
From: Kaspar Schleiser <kaspar@schleiser.de>
Date: Sat, 9 Sep 2017 00:37:45 +0200
Subject: [PATCH] make: fix gnrc_slip dependency

---
 Makefile.dep         | 4 ++++
 sys/Makefile.include | 4 ----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Makefile.dep b/Makefile.dep
index a1b19ca61c..a2a31ff59c 100644
--- a/Makefile.dep
+++ b/Makefile.dep
@@ -353,6 +353,10 @@ ifneq (,$(filter gnrc_pktdump,$(USEMODULE)))
   USEMODULE += od
 endif
 
+ifneq (,$(filter gnrc_slip,$(USEMODULE)))
+  FEATURES_REQUIRED += periph_uart
+endif
+
 ifneq (,$(filter od,$(USEMODULE)))
   USEMODULE += fmt
 endif
diff --git a/sys/Makefile.include b/sys/Makefile.include
index 11b668f218..0c8c6b7ecf 100644
--- a/sys/Makefile.include
+++ b/sys/Makefile.include
@@ -43,10 +43,6 @@ ifneq (,$(filter cpp11-compat,$(USEMODULE)))
   export UNDEF += $(BINDIR)/cpp11-compat/cppsupport.o
 endif
 
-ifneq (,$(filter gnrc_slip,$(USEMODULE)))
-  FEATURES_REQUIRED += periph_uart
-endif
-
 ifneq (,$(filter embunit,$(USEMODULE)))
   ifeq ($(OUTPUT),XML)
     CFLAGS += -DOUTPUT=OUTPUT_XML
-- 
GitLab