<p>To provide context vs <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="441261429" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/11497" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/11497/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/11497">#11497</a>, this PR unifies <em>current</em> blob handling (which is duplicated in examples/javascript, examples/lua_REPL and examples/lua_basic, and one more coming in <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="75160233" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/2968" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/2968/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/2968">#2968</a>) to a shared makefile. It is still using xxd & sed, which <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="441261429" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/11497" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/11497/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/11497">#11497</a> tries to replace with a custom make-based implementation.</p>
<p>IMO, while I disagree with handling this using make itself, even should we agree on that, this PR provides a clean entry-point to do that. Thus the guts of <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="441261429" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/11497" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/11497/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/11497">#11497</a> could be hooked in easily by replacing the one xxd+sed line of this PR. But that should be a different discussion.</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/11870?email_source=notifications&email_token=ABE7WYAFWG5DNVNOXS7NN5DQIYRZTA5CNFSM4IFEW2E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6HCOVQ#issuecomment-529409878">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYDSWLKANQQD3V6LTJ3QIYRZTANCNFSM4IFEW2EQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYDR5PPAKAFU4YPZYE3QIYRZTA5CNFSM4IFEW2E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6HCOVQ.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/11870?email_source=notifications\u0026email_token=ABE7WYAFWG5DNVNOXS7NN5DQIYRZTA5CNFSM4IFEW2E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6HCOVQ#issuecomment-529409878",
"url": "https://github.com/RIOT-OS/RIOT/pull/11870?email_source=notifications\u0026email_token=ABE7WYAFWG5DNVNOXS7NN5DQIYRZTA5CNFSM4IFEW2E2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6HCOVQ#issuecomment-529409878",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>