From 3c7b09ace9b44f80453cb1e462a8fa468b3048ce Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 2 Sep 2023 12:04:50 +0100 Subject: handle/make/config: properly handle cbutils it wasn't being checked for, to run cbfstool. Signed-off-by: Leah Rowe --- script/handle/make/config | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'script') diff --git a/script/handle/make/config b/script/handle/make/config index e7016c85..d976e529 100755 --- a/script/handle/make/config +++ b/script/handle/make/config @@ -45,6 +45,7 @@ romtype="" target="" target_dir="" tree="" +cbfstool="" main() { @@ -146,6 +147,9 @@ handle_dependencies() if [ "${project}" = "coreboot" ] || [ "${project}" = "u-boot" ]; then [ "${mode}" != "all" ] || check_cross_compiler || \ fail "handle_dependencies ${project}/${target}: crossgcc" + cbfstool="cbutils/${tree}/cbfstool" + [ -f "${cbfstool}" ] || ./build coreboot utils "${tree}" || \ + fail "handle_dependencies: cannot build cbfstool" fi } -- cgit v1.2.1