summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
Diffstat (limited to 'script')
-rwxr-xr-xscript/roms7
1 files changed, 2 insertions, 5 deletions
diff --git a/script/roms b/script/roms
index 7c181c36..d969d86e 100755
--- a/script/roms
+++ b/script/roms
@@ -188,11 +188,8 @@ configure_target()
# that doesn't mean GRUB-withSeaBIOS will. For example, the board
# might have a graphics card whose vga rom coreboot doesn't execute
[ "$payload_grub" != "y" ] && [ "$payload_seabios" != "y" ] && \
- [ "${payload_uboot}" != "y" ] && \
- for configfile in "${targetdir}/config/"*; do
- [ -e "${configfile}" ] || continue
- $err "target '${board}' defines no payload"
- done
+ [ "${payload_uboot}" != "y" ] && ! check_defconfig "$targetdir" \
+ && $err "target '$board' defines no payload"
[ "$payload_uboot" != "n" ] && [ "$payload_uboot" != "y" ] && \
payload_uboot="n"