<p>It worked.</p>
<p>I remove the assumption that when the archive is in a directory the objects are in <code>$(MODULE)/*.o</code> and now just assumes they are in a subdirectory of the directory where the archive is, and that the path description is similar so can be <code>subst</code> directly.</p>
<p>It like it even more this way.</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/12248?email_source=notifications&email_token=ABE7WYEAMZIFSFQ3BBQCCT3QJ6EIFA5CNFSM4IXBAXU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6ZFPAA#issuecomment-531781504">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYBPMNT7GMSLBWQ7GZDQJ6EIFANCNFSM4IXBAXUQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYAFJJSTGCVVGY4CKK3QJ6EIFA5CNFSM4IXBAXU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6ZFPAA.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/12248?email_source=notifications\u0026email_token=ABE7WYEAMZIFSFQ3BBQCCT3QJ6EIFA5CNFSM4IXBAXU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6ZFPAA#issuecomment-531781504",
"url": "https://github.com/RIOT-OS/RIOT/pull/12248?email_source=notifications\u0026email_token=ABE7WYEAMZIFSFQ3BBQCCT3QJ6EIFA5CNFSM4IXBAXU2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6ZFPAA#issuecomment-531781504",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>