From 4a49ea3599c8610984c41ef6a234556ed9d0bce5 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 24 Jun 2023 22:54:53 +0100 Subject: build/cbutils: distclean before building Signed-off-by: Leah Rowe --- resources/scripts/build/module/cbutils | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'resources/scripts/build') 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 } -- cgit v1.2.1