diff options
Diffstat (limited to 'script/handle/make')
| -rwxr-xr-x | script/handle/make/config | 4 | 
1 files changed, 4 insertions, 0 deletions
| 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  } | 
