summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-18 23:49:28 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-18 23:49:28 +0100
commita96c4b59fd8cf4d19b78d839c5950f32ffd2c1ff (patch)
treed2543e69a728dc1d66031672a47e840d137ab484 /script
parent28682b1a4bde9d0dc3fcea51efa3e70aa62b7f30 (diff)
roms: simplify payload_uboot y/n check
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/roms3
1 files changed, 1 insertions, 2 deletions
diff --git a/script/roms b/script/roms
index ab247ea1..fc63712f 100755
--- a/script/roms
+++ b/script/roms
@@ -122,8 +122,7 @@ configure_target()
[ "$payload_grub" != "y" ] && [ "$payload_seabios" != "y" ] && \
[ "$payload_uboot" != "y" ] && $err "'$board' defines no payload"
- [ "$payload_uboot" != "n" ] && [ "$payload_uboot" != "y" ] && \
- payload_uboot="n"
+ [ "$payload_uboot" = "y" ] || payload_uboot="n"
[ -n "$uboot_config" ] || uboot_config="default"
[ "$xbmk_release" = "y" ] && [ "$release" = "n" ] && return 1