Commit 00c58c37 authored by Michael Shigorin's avatar Michael Shigorin

bootloader: add a guardian

BASE_BOOTLOADER must have been set to any of the supported bootloader names somewhere during configuration; it is not impossible to avoid this elsewhere so let's put a guardian script which will stop the build which is known to result in a broken image.
parent 657c0bf6
#!/bin/sh
if [ -z "$GLOBAL_BASE_BOOTLOADER" ]; then
echo "** error: BASE_BOOTLOADER empty while bootloader feature requested" >&2
exit 1
fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment