From d3a831ef91131eb6b9fa8086c9c5f3632a8e9ea4 Mon Sep 17 00:00:00 2001 From: Martine Lenders <m.lenders@fu-berlin.de> Date: Fri, 22 Jun 2018 18:47:43 +0200 Subject: [PATCH] gnrc_pktbuf_cmd: module is not a pktbuf implementation When I introduced this pseudo-module in #9391 I did not consider, that the way I named it, it is assumed to be an implementation of the `gnrc_pktbuf` interface. However, it is not (it just provides the shell command). This PR excludes `gnrc_pktbuf_cmd` from the selection algorithm, so that if it is the only `gnrc_pktbuf_%` module, still `gnrc_pktbuf_static` gets selected. --- Makefile.dep | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile.dep b/Makefile.dep index 0e3202645b..4db804d060 100644 --- a/Makefile.dep +++ b/Makefile.dep @@ -520,6 +520,9 @@ ifneq (,$(filter gnrc_pktbuf, $(USEMODULE))) ifeq (,$(filter gnrc_pktbuf_%, $(USEMODULE))) USEMODULE += gnrc_pktbuf_static endif + ifeq (gnrc_pktbuf_cmd,$(filter gnrc_pktbuf_%, $(USEMODULE))) + USEMODULE += gnrc_pktbuf_static + endif USEMODULE += gnrc_pkt endif -- GitLab