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.
This commit is contained in:
Michael Shigorin 2013-11-13 19:11:24 +04:00
parent 657c0bf6ef
commit 00c58c3725

View File

@ -0,0 +1,6 @@
#!/bin/sh
if [ -z "$GLOBAL_BASE_BOOTLOADER" ]; then
echo "** error: BASE_BOOTLOADER empty while bootloader feature requested" >&2
exit 1
fi