trees: rename check_config to check_defconfig

Signed-off-by: Leah Rowe <leah@libreboot.org>
audit6
Leah Rowe 2024-06-30 14:13:52 +01:00
parent ba7b3a3b21
commit 1a7c8acb0e
1 changed files with 3 additions and 3 deletions

View File

@ -110,7 +110,7 @@ handle_defconfig()
[ -f "$y" ] || continue
defconfig="$y"
[ -n "$mode" ] || check_config || continue
[ -n "$mode" ] || check_defconfig || continue
handle_makefile
[ -n "$mode" ] || copy_elf
done
@ -202,9 +202,9 @@ check_coreboot_utils()
done; return 0
}
check_config()
check_defconfig()
{
[ -f "$defconfig" ] || $err "check_config $project/$target: no config"
[ -f "$defconfig" ] || $err "$project/$target: missing defconfig"
dest_dir="$elfdir/$target/${defconfig#"$target_dir/config/"}"
elfcheck || return 1 # skip build if a previous one exists