diff --git a/Makefile.dep b/Makefile.dep index a1b19ca61cbb66c29948b596e67dfc742accaea8..a2a31ff59c1a9352e82215af8c47eff0ced3ee2e 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 11b668f2189e2cd918438cb6adbc62a67244decf..0c8c6b7ecfdb491a282b6d1e02d78f18765fe5c1 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