build/coreboot/utils: remove unnecessary check

the file check is sufficient (target.cfg)

Signed-off-by: Leah Rowe <leah@libreboot.org>
btrfsvols
Leah Rowe 2023-10-02 04:17:50 +01:00
parent 0a711ebc66
commit 3fcad603b2
1 changed files with 0 additions and 2 deletions

View File

@ -19,8 +19,6 @@ main()
} }
build_for_mainboard() { build_for_mainboard() {
[ -d "config/coreboot/${1}" ] || \
err "build_for_mainboard ${1}: board dir does not exist"
[ -f "config/coreboot/${1}/target.cfg" ] || \ [ -f "config/coreboot/${1}/target.cfg" ] || \
err "build_for_mainboard ${1}: target.cfg does not exist" err "build_for_mainboard ${1}: target.cfg does not exist"
tree="undefined" tree="undefined"