<p><b>@fjmolinas</b> commented on this pull request.</p>

<hr>

<p>In <a href="https://github.com/RIOT-OS/RIOT/pull/12307#discussion_r328610645">makefiles/boot/riotboot.mk</a>:</p>
<pre style='color:#555'>> @@ -145,10 +145,13 @@ riotboot/slot1: $(SLOT1_RIOT_BIN)
 # Default flashing rule for bootloader + slot 0
 riotboot/flash: riotboot/flash-slot0 riotboot/flash-bootloader
 
-# make applications that use the riotboot feature default to actually using it
-# Target 'all' will generate the combined file directly.
+ifeq (,$(filter riotboot_bootloader,$(FEATURES_USED)))
</pre>
<p>I had posted this as an alternative in <a class="issue-link js-issue-link" data-error-text="Failed to load issue title" data-id="480069739" data-permission-text="Issue title is private" data-url="https://github.com/RIOT-OS/RIOT/issues/12003" data-hovercard-type="issue" data-hovercard-url="/RIOT-OS/RIOT/issues/12003/hovercard" href="https://github.com/RIOT-OS/RIOT/issues/12003">#12003</a>, I discussed it with <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=241401" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cladmi">@cladmi</a> and we though that you shouldn't look at the  <code>APPLICATION</code> variable to change build behavior. Maybe <a class="user-mention" data-hovercard-type="user" data-hovercard-url="/hovercards?user_id=241401" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cladmi">@cladmi</a> has another argument I don't recall?</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/12307?email_source=notifications&email_token=ABE7WYBVMA4KA24VWNQ3ETLQLSZ4VA5CNFSM4I2ZSXJ2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCGA4TEY#discussion_r328610645">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYBCO3LUT32GICN4H5DQLSZ4VANCNFSM4I2ZSXJQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYFC2UFFJJUUBN3JHBDQLSZ4VA5CNFSM4I2ZSXJ2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCGA4TEY.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/12307?email_source=notifications\u0026email_token=ABE7WYBVMA4KA24VWNQ3ETLQLSZ4VA5CNFSM4I2ZSXJ2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCGA4TEY#discussion_r328610645",
"url": "https://github.com/RIOT-OS/RIOT/pull/12307?email_source=notifications\u0026email_token=ABE7WYBVMA4KA24VWNQ3ETLQLSZ4VA5CNFSM4I2ZSXJ2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCGA4TEY#discussion_r328610645",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>