From 149aadc8418e14688ba904d18a634f0c2fe6529c Mon Sep 17 00:00:00 2001 From: Martine Lenders Date: Tue, 25 Oct 2022 12:35:17 +0200 Subject: [PATCH] shell_cmd_gnrc_udp: add missing netutils dependency The `gnrc_udp` shell command uses the function `netutils_get_ipv6()` but does not include the corresponding module `netutils`. The only reason most applications that use `shell_cmd_gnrc_udp` link is because they also include the `shell_cmd_gnrc_icmpv6_echo` module (e.g. implicit via `gnrc_ipcmpv6_echo`), which includes this dependency. --- sys/shell/Makefile.dep | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/shell/Makefile.dep b/sys/shell/Makefile.dep index dd8e0dd82f..a36517319c 100644 --- a/sys/shell/Makefile.dep +++ b/sys/shell/Makefile.dep @@ -208,6 +208,7 @@ endif ifneq (,$(filter shell_cmd_gnrc_udp,$(USEMODULE))) USEMODULE += gnrc_udp USEMODULE += gnrc_pktdump + USEMODULE += netutils endif ifneq (,$(filter shell_cmd_i2c_scan,$(USEMODULE))) FEATURES_REQUIRED += periph_i2c