summaryrefslogtreecommitdiff
path: root/script/update/vendor/inject
diff options
context:
space:
mode:
Diffstat (limited to 'script/update/vendor/inject')
-rwxr-xr-xscript/update/vendor/inject4
1 files changed, 3 insertions, 1 deletions
diff --git a/script/update/vendor/inject b/script/update/vendor/inject
index 3340a723..f4caf89e 100755
--- a/script/update/vendor/inject
+++ b/script/update/vendor/inject
@@ -88,7 +88,9 @@ detect_board()
build_dependencies()
{
[ -d "${cbdir}" ] || x_ ./update project trees -f coreboot default
- x_ ./update project trees -b coreboot utils default
+ if [ ! -f "${cbfstool}" ] || [ ! -f "${ifdtool}" ]; then
+ x_ ./update project trees -b coreboot utils default
+ fi
x_ ./update vendor download ${board}
}