From 1a7c8acb0e27f261e7d4bc13a30f1047491133f5 Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 30 Jun 2024 14:13:52 +0100 Subject: trees: rename check_config to check_defconfig Signed-off-by: Leah Rowe --- script/trees | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'script') diff --git a/script/trees b/script/trees index 0bf32548..2856a0fe 100755 --- a/script/trees +++ b/script/trees @@ -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 -- cgit v1.2.1