Skip to content
Snippets Groups Projects
Commit d3a831ef authored by Martine Lenders's avatar Martine Lenders
Browse files

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.
parent 011b80cb
No related branches found
No related tags found
No related merge requests found
...@@ -520,6 +520,9 @@ ifneq (,$(filter gnrc_pktbuf, $(USEMODULE))) ...@@ -520,6 +520,9 @@ ifneq (,$(filter gnrc_pktbuf, $(USEMODULE)))
ifeq (,$(filter gnrc_pktbuf_%, $(USEMODULE))) ifeq (,$(filter gnrc_pktbuf_%, $(USEMODULE)))
USEMODULE += gnrc_pktbuf_static USEMODULE += gnrc_pktbuf_static
endif endif
ifeq (gnrc_pktbuf_cmd,$(filter gnrc_pktbuf_%, $(USEMODULE)))
USEMODULE += gnrc_pktbuf_static
endif
USEMODULE += gnrc_pkt USEMODULE += gnrc_pkt
endif endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment