<p></p>
<blockquote>
<p>so this should be reflected in the dependency resolution</p>
</blockquote>
<p>What's wrong with</p>
<div class="highlight highlight-source-makefile"><pre><span class="pl-k">ifneq</span> (,<span class="pl-s">$(<span class="pl-c1">filter</span> shell_commands,<span class="pl-s">$(<span class="pl-smi">USEMODULE</span>)</span>)</span>)

  …

  ifneq (,$(filter gnrc_icmpv6_echo,$(USEMODULE)))
    <span class="pl-smi">USEMODULE</span> += netutils
  endif

  …

<span class="pl-k">endif</span></pre></div>
<blockquote>
<p>And it can then be removed from the example Makefiles btw.</p>
</blockquote>
<p>Well the examples also use <code>netutils_get_ipv6()</code> in <code>udp.c</code>/<code>gcoap_cli.c</code> so I thought the proper thing to do would be not to rely on transient dependencies.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/16634#issuecomment-883509387">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYFY74EIGXL7IS2G4ULTYWMVPANCNFSM5AEHUGEQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYFISTAPZEMPG3D7XLTTYWMVPA5CNFSM5AEHUGE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGSUURCY.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/16634#issuecomment-883509387",
"url": "https://github.com/RIOT-OS/RIOT/pull/16634#issuecomment-883509387",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>