summaryrefslogtreecommitdiff
path: root/script/trees
diff options
context:
space:
mode:
Diffstat (limited to 'script/trees')
-rwxr-xr-xscript/trees7
1 files changed, 3 insertions, 4 deletions
diff --git a/script/trees b/script/trees
index ce6da422..4152e0b9 100755
--- a/script/trees
+++ b/script/trees
@@ -90,7 +90,7 @@ handle_defconfig()
{
target_dir="$configdir/$target"
- [ -f "CHANGELOG" ] || fetch_project "$project"
+ fetch_project "$project"
configure_project "$target_dir" || return 0
x_ mkdir -p "$elfdir/$target"
@@ -136,7 +136,6 @@ configure_project()
&& break; _tcfg="${_tcfg%/*/target.cfg}/$tree/target.cfg"
done
- [ "$XBMK_RELEASE" = "y" ] && [ "$release" = "n" ] && return 1
[ -z "$btype" ] || [ "${mode%config}" = "$mode" ] || return 1
[ -z "$mode" ] && build_dependencies
@@ -144,12 +143,12 @@ configure_project()
mdir="$PWD/config/submodule/$project"
[ -n "$tree" ] && mdir="$mdir/$tree"
- [ -f "CHANGELOG" ] || check_project_hashes
+ check_project_hashes
[ "$mode" = "fetch" ] || x_ ./update trees -f "$project" $target
[ "$mode" = "fetch" ] || return 0
- [ -f "CHANGELOG" ] && return 1; fetch_${cmd#build_}; return 1
+ fetch_${cmd#build_}; return 1
}
build_dependencies()