tree.sh: only create elfdir in copy_elf()
otherwise, we create empty directories where build.list doesn't exist, like on coreboot. we already create a directory when needed, when actually copying elf files, so let's just leave it at that. Signed-off-by: Leah Rowe <leah@libreboot.org>25.06_branch
parent
33debfcf1c
commit
a82ca2da5f
|
@ -107,7 +107,6 @@ handle_defconfig()
|
|||
|
||||
[ -f "CHANGELOG" ] || fetch_project "$project"
|
||||
configure_project "$target_dir" || return 0
|
||||
x_ mkdir -p "$elfdir/$target"
|
||||
|
||||
chkvars tree
|
||||
srcdir="src/$project/$tree"
|
||||
|
@ -267,8 +266,7 @@ check_defconfig()
|
|||
[ -f "$defconfig" ] || $dry err "$project/$target: missing defconfig"
|
||||
dest_dir="$elfdir/$target/${defconfig#"$target_dir/config/"}"
|
||||
|
||||
$dry elfcheck || return 1 # skip build if a previous one exists
|
||||
$dry x_ mkdir -p "$dest_dir"
|
||||
$dry elfcheck || return 1; : # skip build if a previous one exists
|
||||
}
|
||||
|
||||
elfcheck()
|
||||
|
|
Loading…
Reference in New Issue