summaryrefslogtreecommitdiff
path: root/script/build
diff options
context:
space:
mode:
Diffstat (limited to 'script/build')
-rwxr-xr-xscript/build/roms3
1 files changed, 2 insertions, 1 deletions
diff --git a/script/build/roms b/script/build/roms
index 825e43e3..f69ff134 100755
--- a/script/build/roms
+++ b/script/build/roms
@@ -156,6 +156,7 @@ build_grub_payload()
"$keymap" > "elf/grub/keymap_$keymap.cfg" || err "!key"; :
done
[ -n "${_keyboard}" ] && keymaps="${kmapdir}/${_keyboard}.gkb"
+ [ -f "$grubelf" ] && return 0
[ -f "src/grub/grub-mkstandalone" ] || x_ ./update trees -b grub
./src/grub/grub-mkstandalone \
@@ -180,7 +181,7 @@ build_grub_payload()
"${layoutdir}/usqwerty.gkb=${grubcfgsdir}/keymap/usqwerty.gkb" \
"/boot/grub/grub.cfg=${grubcfgsdir}/config/grub_memdisk.cfg" \
"/boot/grub/grub_default.cfg=${grubcfgsdir}/config/grub.cfg" || \
- err "build_grub_elf: cannot build grub payload (grub-mkstandalone)"
+ err "could not generate grub.elf"
}
build_uboot_payload()