<h3>Contribution description</h3>
<p>This PR reworks the Makfiles for the <code>nimble</code> package a little bit, to make it more robust and improve modularity a bit. I think I still have to do some improvements to the <code>Makefile.include</code>, but aside from that the situation should be improved with this PR already...</p>
<h3>Testing procedure</h3>
<p>Simply verify that <code>exampels/nimble_gatt</code> is still working as expected</p>
<h3>Issues/PRs references</h3>
<p><span class="issue-keyword tooltipped tooltipped-se" aria-label="This pull request closes issue #11051.">fixes</span> <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="412937950" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/11051" data-hovercard-type="issue" data-hovercard-url="/RIOT-OS/RIOT/issues/11051/hovercard" href="https://github.com/RIOT-OS/RIOT/issues/11051">#11051</a></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/11055'>https://github.com/RIOT-OS/RIOT/pull/11055</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>pkg/nimble: improve Makefile structure</li>
  <li>examples/nimble_gatt: use gatt/gap svcs explicitly</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11055/files#diff-0">examples/nimble_gatt/Makefile</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11055/files#diff-1">pkg/nimble/Makefile</a>
    (44)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11055/files#diff-2">pkg/nimble/Makefile.dep</a>
    (32)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11055/files#diff-3">pkg/nimble/controller.mk</a>
    (16)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11055/files#diff-4">pkg/nimble/drivers.nrf52.mk</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11055/files#diff-5">pkg/nimble/ext.tinycrypt.mk</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11055/files#diff-6">pkg/nimble/nimble.host.mk</a>
    (44)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11055/files#diff-7">pkg/nimble/nimble.host.store.ram.mk</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11055/files#diff-8">pkg/nimble/nimble.host.util.mk</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11055/files#diff-9">pkg/nimble/porting.nimble.mk</a>
    (13)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11055/files#diff-10">pkg/nimble/porting.npl.riot.mk</a>
    (3)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11055/files#diff-11">pkg/nimble/service.gap.mk</a>
    (5)
  </li>
  <li>
    <strong>D</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11055/files#diff-12">pkg/nimble/service.gatt.mk</a>
    (5)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11055/files#diff-13">pkg/nimble/svc.gap.mk</a>
    (3)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11055/files#diff-14">pkg/nimble/svc.gatt.mk</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11055/files#diff-15">pkg/nimble/transport.ram.mk</a>
    (1)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/11055.patch'>https://github.com/RIOT-OS/RIOT/pull/11055.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/11055.diff'>https://github.com/RIOT-OS/RIOT/pull/11055.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/11055">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AEn7YAL3rzu1nxT7_rk1xL-W_SEJfhgNks5vP-mVgaJpZM4bJjLc">mute the thread</a>.<img src="https://github.com/notifications/beacon/AEn7YMSTCXG9N5JfyEtySb8MpjJ6f4Tzks5vP-mVgaJpZM4bJjLc.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/RIOT-OS/RIOT","title":"RIOT-OS/RIOT","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/RIOT-OS/RIOT"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"pkg/nimble: improve structure of Makefiles (#11055)"}],"action":{"name":"View Pull Request","url":"https://github.com/RIOT-OS/RIOT/pull/11055"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11055",
"url": "https://github.com/RIOT-OS/RIOT/pull/11055",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>