diff options
author | Leah Rowe <leah@libreboot.org> | 2023-09-02 12:04:50 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2023-09-02 12:04:50 +0100 |
commit | 3c7b09ace9b44f80453cb1e462a8fa468b3048ce (patch) | |
tree | af4325ed02d7b99086ed4c2e7e0ec3c04a63ddb7 /script/handle/make | |
parent | a3bc7ccd710423f9be06c2fdf3d24ac5c10dda7f (diff) |
handle/make/config: properly handle cbutils
it wasn't being checked for, to run cbfstool.
Signed-off-by: Leah Rowe <leah@libreboot.org>
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 } |