diff options
author | Leah Rowe <leah@libreboot.org> | 2024-06-29 02:11:45 +0100 |
---|---|---|
committer | Leah Rowe <leah@libreboot.org> | 2024-06-29 02:12:40 +0100 |
commit | 5e46b9f434d12622038f351545cfd2b9eaad168d (patch) | |
tree | a20405eb3e2758b19a555e5dc801bb3738b30b19 /include | |
parent | 7086b6868599e8e58e9399bc22669b61199561ca (diff) |
vendor.sh: simplify kbc1126 util handling
we don't need to check whether the binary exists, because
make already does that for us.
we still need to check that the directory exists, because
older versions of coreboot did not include kbc1126, and we
do still use older coreboot revisions on some boards.
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'include')
-rwxr-xr-x | include/vendor.sh | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/vendor.sh b/include/vendor.sh index 934b8392..c60a3d77 100755 --- a/include/vendor.sh +++ b/include/vendor.sh @@ -53,8 +53,7 @@ bootstrap() for d in uefitool biosutilities bios_extract; do x_ ./update trees -b "$d" done - [ ! -d "${kbc1126_ec_dump%/*}" ] || [ -f "$kbc1126_ec_dump" ] || x_ \ - make -C "$cbdir/util/kbc1126" + [ -d "${kbc1126_ec_dump%/*}" ] && x_ make -C "$cbdir/util/kbc1126" [ -n "$MRC_refcode_cbtree" ] && \ cbfstoolref="elf/cbfstool/$MRC_refcode_cbtree/cbfstool" && \ x_ ./update trees -b coreboot utils $MRC_refcode_cbtree; return 0 |