summaryrefslogtreecommitdiff
path: root/script
diff options
context:
space:
mode:
authorLeah Rowe <leah@libreboot.org>2024-06-30 01:07:59 +0100
committerLeah Rowe <leah@libreboot.org>2024-06-30 01:07:59 +0100
commit1ec9fc336804aaf70eecd64763a87a7478ab03d6 (patch)
tree90789cd41a65edce573e3f6177d6968bb2be988c /script
parent789631ccb822560281c5b52f849b54e80bf92467 (diff)
trees: mv load_project_config load_target_config
Signed-off-by: Leah Rowe <leah@libreboot.org>
Diffstat (limited to 'script')
-rwxr-xr-xscript/trees6
1 files changed, 3 insertions, 3 deletions
diff --git a/script/trees b/script/trees
index 0a9cf90d..9c1531a2 100755
--- a/script/trees
+++ b/script/trees
@@ -57,7 +57,7 @@ main()
build_project()
{
- load_project_config "$cfgsdir" || return 0
+ load_target_config "$cfgsdir" || return 0
[ -f "$listfile" ] || listfile="" # optional on single-tree
dest_dir="$elfdir"
@@ -121,7 +121,7 @@ handle_src_tree()
{
target_dir="$cfgsdir/$target"
- load_project_config "$target_dir" || return 1
+ load_target_config "$target_dir" || return 1
x_ mkdir -p "$elfdir/$target"
chkvars tree
@@ -140,7 +140,7 @@ handle_src_tree()
[ -z "$mode" ] && check_cross_compiler; return 0
}
-load_project_config()
+load_target_config()
{
[ "$cmd" = "build_targets" ] && [ ! -d "src/$project/$project" ] && \
x_ mkdir -p "src/$project" && fetch_project "$project"