From c44a38aefc9dc4e150b8a11d904a16cf358b9b66 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Fri, 13 Oct 2023 03:20:33 +0100 Subject: only build cbutils if required it's sometimes done unconditionally. this change ensures that it is not repeated needlessly. i observed otherwise that cbfstool would be re-built from time to time, even if it was built. Signed-off-by: Leah Rowe --- script/build/fw/coreboot | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'script/build') diff --git a/script/build/fw/coreboot b/script/build/fw/coreboot index bf7943ac..4cdf64ff 100755 --- a/script/build/fw/coreboot +++ b/script/build/fw/coreboot @@ -132,7 +132,8 @@ prepare_target() cbfstool="cbutils/${tree}/cbfstool" cbrom="${cbdir}/build/coreboot.rom" - x_ ./update project trees -b coreboot utils ${tree} + [ -f "${cbfstool}" ] || \ + x_ ./update project trees -b coreboot utils ${tree} build_dependency_seabios -- cgit v1.2.1