summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-07-22 23:39:04 +0100
committerLeah Rowe <leah@libreboot.org>2024-07-22 23:39:36 +0100
commita91751a86bc42c3a367f530eef3f9a9728c63eaf (patch)
tree78d8953461046768ee2c9232b6ed12c5ef908aa9
parent38b65af5b5c10c63dba74b3dcc71741329198420 (diff)
rom.sh: don't run mkcorebootbin on trees -d
don't let it execute during dry builds Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--include/rom.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/rom.sh b/include/rom.sh
index 6f914009..eadef643 100644
--- a/include/rom.sh
+++ b/include/rom.sh
@@ -79,6 +79,11 @@ check_coreboot_utils()
mkcorebootbin()
{
+ $dry realmkcorebootbin; :
+}
+
+realmkcorebootbin()
+{
[ "$target" = "$tree" ] && return 0
tmprom="$TMPDIR/coreboot.rom"