vendor/inject: only build nvmutil if required

Signed-off-by: Leah Rowe <leah@libreboot.org>
This commit is contained in:
Leah Rowe
2023-10-14 08:57:11 +01:00
parent 3f8636ff67
commit 19f1e0083d
+1 -1
View File
@@ -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}
}