summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-07-10 01:37:27 +0100
committerLeah Rowe <leah@libreboot.org>2024-07-10 01:37:27 +0100
commit97b777715beed324e5b07bc91bbd2d9eb9b1271b (patch)
tree36e038d9b84f534b1f85aa57ff9c45899dac4df8
parent494b94799e0c365097ee93d48fe01cdcf869b602 (diff)
rom.sh: avoid re-building cbutils if built
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rw-r--r--include/rom.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/rom.sh b/include/rom.sh
index 3b465795..9a33e58f 100644
--- a/include/rom.sh
+++ b/include/rom.sh
@@ -57,6 +57,8 @@ mkvendorfiles()
check_coreboot_utils()
{
for util in cbfstool ifdtool; do
+ [ -f "elf/$util/$1/$util" ] && continue
+
utilelfdir="elf/$util/$1"
utilsrcdir="src/coreboot/$1/util/$util"