<h3>Contribution description</h3>
<p>This PR contains two fixes for the riotboot makefiles:</p>
<ol>
<li>ensure that the call to "date" that sets the epoch is not done multiple times due to Makefile's lazy evaluation</li>
<li>add APP_VER to resulting binar filenames, so multiple versions can be created simultaneously.</li>
</ol>
<p>This PR depends on "add_riotboot_test_script".</p>

<h3>Testing procedure</h3>
<ul>
<li>ensure the RIOTBOOT test is still completing correctly</li>
</ul>

<h3>Issues/PRs references</h3>
<p>Waiting for <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="456991344" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/11707" data-hovercard-type="pull_request" data-hovercard-url="/RIOT-OS/RIOT/pull/11707/hovercard" href="https://github.com/RIOT-OS/RIOT/pull/11707">#11707</a> (automatic tests).<br>
This is not really a dependency, but the same files are touched, and testing should be easier with a test application.</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/11803'>https://github.com/RIOT-OS/RIOT/pull/11803</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>murdock: allow multiple files to be sent along with a test job</li>
  <li>fixup! murdock: allow multiple files to be sent along with a test job</li>
  <li>fixup! fixup! murdock: allow multiple files to be sent along with a test job</li>
  <li>fixup! fixup! fixup! murdock: allow multiple files to be sent along with a test job</li>
  <li>riotboot: set FLASHFILE to RIOTBOOT_EXTENDED_BIN</li>
  <li>riotboot: update documentation to match automatic use</li>
  <li>riotboot: fix APP_VER default documentation</li>
  <li>tests/riotboot_flashwrite: disable for saml1[01]-xpro</li>
  <li>fixup! riotboot: fix APP_VER default documentation</li>
  <li>fixup! riotboot: set FLASHFILE to RIOTBOOT_EXTENDED_BIN</li>
  <li>fixup! fixup! riotboot: fix APP_VER default documentation</li>
  <li>DEPENDENCY MERGE: pr/murdock_allow_multiple_files_for_test_job</li>
  <li>DEPENDENCY MERGE: pr/always_flash_riotboot_if_required</li>
  <li>tests/riotboot: add re-flashing and image selection test</li>
  <li>make/riotboot: allow slot image creation without compiling</li>
  <li>fixup! tests/riotboot: add basic automatic test in python</li>
  <li>riotboot: always link both slot .elf when linking</li>
  <li>fixup! riotboot: always link both slot .elf when linking</li>
  <li>DEPENDENCY MERGE: add_riotboot_test_script</li>
  <li>make: riotboot: ensure epoch in APP_VER is evaluated once</li>
  <li>make: riotboot: add $APP_VER to image file names</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11803/files#diff-0">.murdock</a>
    (34)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11803/files#diff-1">Makefile.include</a>
    (2)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11803/files#diff-2">bootloaders/riotboot/README.md</a>
    (30)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11803/files#diff-3">makefiles/boot/riotboot.mk</a>
    (34)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11803/files#diff-4">makefiles/murdock.inc.mk</a>
    (7)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11803/files#diff-5">tests/riotboot/Makefile</a>
    (13)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11803/files#diff-6">tests/riotboot/README.md</a>
    (23)
  </li>
  <li>
    <strong>A</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11803/files#diff-7">tests/riotboot/tests/01_test_slot_selection.sh</a>
    (12)
  </li>
  <li>
    <strong>R</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11803/files#diff-8">tests/riotboot/tests/common/assert_slotnum.py</a>
    (11)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/RIOT-OS/RIOT/pull/11803/files#diff-9">tests/riotboot_flashwrite/Makefile</a>
    (5)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/11803.patch'>https://github.com/RIOT-OS/RIOT/pull/11803.patch</a></li>
  <li><a href='https://github.com/RIOT-OS/RIOT/pull/11803.diff'>https://github.com/RIOT-OS/RIOT/pull/11803.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/11803?email_source=notifications&email_token=ABE7WYHG6LR6YU37G5J4VQTP55GHTA5CNFSM4H6LPDZ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5R7OPA">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYHHXY5XZRTDE7UITP3P55GHTANCNFSM4H6LPDZQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYE63YGCX66PW5JBKBTP55GHTA5CNFSM4H6LPDZ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5R7OPA.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/11803?email_source=notifications\u0026email_token=ABE7WYHG6LR6YU37G5J4VQTP55GHTA5CNFSM4H6LPDZ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5R7OPA",
"url": "https://github.com/RIOT-OS/RIOT/pull/11803?email_source=notifications\u0026email_token=ABE7WYHG6LR6YU37G5J4VQTP55GHTA5CNFSM4H6LPDZ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G5R7OPA",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>