<h3>Contribution description</h3>
<p>This adds a logic to check which boards are supported for the current application given a certain configuration. It is based on the <code>genconfig.py</code> script.</p>
<ul>
<li><code>info-kconfig-boards-supported</code>: returns a list of all supported boards</li>
<li><code>info-kconfig-board-supported-<BOARD></code>: returns  if it is supported</li>
</ul>
<p><code>info-kconfig-boards-supported</code> is slower than <code>info-boards-supported</code>, as the python script needs to be executed for every board, and Kconfig checks not only modules but that all configurations could be applied correctly.<br>
As there is one target per board to determine if that board is supported, calling make with <code>-j</code> speeds things up a lot.</p>
<h3>Testing procedure</h3>
<ul>
<li>run the targets in some application (e.g. <code>hello-world</code>), you should get the same output as <code>info-boards-supported</code></li>
<li>An interesting check to see that this is working is <code>tests/driver_edbg_eui</code> which only supports <code>samr21-xpro</code></li>
</ul>
<h3>Issues/PRs references</h3>
<p>None so far</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/RIOT-OS/RIOT/pull/16496'>https://github.com/RIOT-OS/RIOT/pull/16496</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>makefiles: add info-kconfig-boards-supported target</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16496/files#diff-3c8fb3a3507e1db4ca93b4d7b28883c763dc084a2ca0dc45adc907d9e4abedef">Makefile.include</a>
    (10)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/16496/files#diff-073d9d222952fea8dd160c428c858309ed52a4c1edcf0452a2e567b7e69c2fcc">makefiles/info-kconfig.inc.mk</a>
    (87)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/16496.patch'>https://github.com/RIOT-OS/RIOT/pull/16496.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/16496.diff'>https://github.com/RIOT-OS/RIOT/pull/16496.diff</a></li>
</ul>

<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/16496">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYBLF3HZGM3QO6JNNRTTPNOTZANCNFSM45O2VGXA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABE7WYFHG6KG27QCTWWJNILTPNOTZA5CNFSM45O2VGXKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4NNMQKQQ.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/16496",
"url": "https://github.com/RIOT-OS/RIOT/pull/16496",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>