build/roms: warn when grub_scan_disk is set incorrectly
This commit is contained in:
parent
c87b6f6369
commit
c7944c0e01
|
@ -68,6 +68,7 @@ source "resources/coreboot/${board}/board.cfg"
|
||||||
if [ "${grub_scan_disk}" != "both" ] && \
|
if [ "${grub_scan_disk}" != "both" ] && \
|
||||||
[ "${grub_scan_disk}" != "ata" ] && \
|
[ "${grub_scan_disk}" != "ata" ] && \
|
||||||
[ "${grub_scan_disk}" != "ahci" ]; then
|
[ "${grub_scan_disk}" != "ahci" ]; then
|
||||||
|
printf "build/roms: Target %s defines an invalid grub_scan_disk setting. Defaulting to 'both'.\n" "${board}"
|
||||||
grub_scan_disk="both"
|
grub_scan_disk="both"
|
||||||
# erroring out would be silly. just use the default
|
# erroring out would be silly. just use the default
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue