diff --git a/sys/shell/commands/Makefile b/sys/shell/commands/Makefile
index 5628af01c7453dadd896608ed97d80316843c5f1..26dc3391d2a88e163f92dbd0dae28f63011d5f24 100644
--- a/sys/shell/commands/Makefile
+++ b/sys/shell/commands/Makefile
@@ -44,7 +44,10 @@ endif
 ifneq (,$(filter gnrc_ipv6_blacklist,$(USEMODULE)))
   SRC += sc_blacklist.c
 endif
-ifneq (,$(filter gnrc_icmpv6_echo xtimer,$(USEMODULE)))
+# The ping command in sc_icmpv6_echo requires xtimer, too. However, this is
+# implicitly pulled in by gnrc_ipv6_netif (which is a dependency of gnrc_ipv6)
+# already.
+ifneq (,$(filter gnrc_icmpv6_echo,$(USEMODULE)))
   SRC += sc_icmpv6_echo.c
 endif
 ifneq (,$(filter gnrc_zep,$(USEMODULE)))