diff --git a/sys/net/gnrc/Makefile.dep b/sys/net/gnrc/Makefile.dep index 009e65aca0ef..174a5664ae46 100644 --- a/sys/net/gnrc/Makefile.dep +++ b/sys/net/gnrc/Makefile.dep @@ -444,6 +444,12 @@ ifneq (,$(filter gnrc_pktbuf_%, $(USEMODULE))) USEMODULE += gnrc_pktbuf # make MODULE_GNRC_PKTBUF macro available for all implementations endif +ifneq (,$(filter gnrc_pktbuf_cmd,$(USEMODULE))) + ifneq (,$(filter gnrc_pktbuf_static,$(USEMODULE))) + USEMODULE += od + endif +endif + ifneq (,$(filter gnrc_netif_%,$(USEMODULE))) USEMODULE += gnrc_netif endif diff --git a/tests/gnrc_udp/Makefile b/tests/gnrc_udp/Makefile index 7d68b498a7b1..955b671d1751 100644 --- a/tests/gnrc_udp/Makefile +++ b/tests/gnrc_udp/Makefile @@ -8,7 +8,6 @@ USEMODULE += gnrc_pktbuf_cmd USEMODULE += gnrc_udp USEMODULE += gnrc_rpl USEMODULE += auto_init_gnrc_rpl -USEMODULE += od USEMODULE += gnrc_icmpv6_echo USEMODULE += shell USEMODULE += shell_commands