From 5e46b9f434d12622038f351545cfd2b9eaad168d Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sat, 29 Jun 2024 02:11:45 +0100 Subject: 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 --- include/vendor.sh | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.1