mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
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.
This commit is contained in:
parent
011b80cb92
commit
d3a831ef91
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user