summaryrefslogtreecommitdiff
path: root/resources/scripts/build
diff options
context:
space:
mode:
Diffstat (limited to 'resources/scripts/build')
-rwxr-xr-xresources/scripts/build/module/cbutils4
1 files changed, 3 insertions, 1 deletions
diff --git a/resources/scripts/build/module/cbutils b/resources/scripts/build/module/cbutils
index b362ee7a..ee6e8692 100755
--- a/resources/scripts/build/module/cbutils
+++ b/resources/scripts/build/module/cbutils
@@ -59,7 +59,9 @@ buildutils() {
./download coreboot $cbtree || return 1
fi
for util in cbfstool ifdtool; do
- make -j$(nproc) -BC "coreboot/${cbtree}/util/${util}/" \
+ utildir="coreboot/${cbtree}/util/${util}/"
+ make distclean -C "${utildir}"
+ make -j$(nproc) -C "${utildir}" \
|| return 1
done
}