summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2023-10-14 08:57:11 +0100
committerLeah Rowe <leah@libreboot.org>2023-10-14 08:57:11 +0100
commit19f1e0083d5077d972bfb0352bbbd06a3cd6b72f (patch)
tree23cefa3f7f51cc9b6ed18e264f1b0b161cb699f1
parent3f8636ff6788950db7e6b49ca893f58be25d80ef (diff)
vendor/inject: only build nvmutil if required
Signed-off-by: Leah Rowe <leah@libreboot.org>
-rwxr-xr-xscript/update/vendor/inject2
1 files changed, 1 insertions, 1 deletions
diff --git a/script/update/vendor/inject b/script/update/vendor/inject
index 2747e629..10692196 100755
--- a/script/update/vendor/inject
+++ b/script/update/vendor/inject
@@ -91,7 +91,7 @@ build_dependencies()
if [ ! -f "${cbfstool}" ] || [ ! -f "${ifdtool}" ]; then
x_ ./update project trees -b coreboot utils default
fi
- [ -f "${nvmutil}" ] || x_ make -C util/nvmutil
+ [ -z "${new_mac}" ] || [ -f "${nvmutil}" ] || x_ make -C util/nvmutil
[ "${nukemode}" = "nuke" ] && return 0
x_ ./update vendor download ${board}
}