Compare commits

..

2 Commits

Author SHA1 Message Date
a5d57fdd3d Move from dirclean to distclean 2025-01-07 10:03:19 -05:00
732233df32 Update default release 2025-01-07 09:55:48 -05:00
2 changed files with 5 additions and 5 deletions

4
.gitignore vendored
View File

@@ -1,7 +1,7 @@
src/ src/
bin/ bin/
.vscode/ .vscode/
.dependencies backups/
.dependencies_sc .dependencies_source
.dependencies_ib .dependencies_ib

View File

@@ -5,7 +5,7 @@
# See README.md and ./profiles for device configuration # See README.md and ./profiles for device configuration
# Set default release # Set default release
: "${RELEASE:="23.05.5"}" : "${RELEASE:="24.10.0-rc5"}"
# @internal # @internal
print_help() { print_help() {
@@ -485,7 +485,7 @@ from_source() {
[0-9][0-9].[0-9][0-9].*) [0-9][0-9].[0-9][0-9].*)
local branch="openwrt-${RELEASE%.*}" local branch="openwrt-${RELEASE%.*}"
local tag="v$RELEASE" local tag="v$RELEASE"
if ask_ok "Use $branch branch HEAD (y, recommended) or $tag tag (N)?"; then if ask_ok "Use $branch branch HEAD (y, recommended) or $tag tag (n)?"; then
wt_commit="origin/$branch" wt_commit="origin/$branch"
else else
wt_commit="$tag" wt_commit="$tag"
@@ -522,7 +522,7 @@ from_source() {
# Cleanup build environment # Cleanup build environment
((VERBOSE)) && make_opts+=("V=s") ((VERBOSE)) && make_opts+=("V=s")
execute make "${make_opts[@]}" "-j1" dirclean execute make "${make_opts[@]}" "-j1" distclean
# make clean # compiled output # make clean # compiled output
# make targetclean # compiled output, toolchain # make targetclean # compiled output, toolchain
# make dirclean # compiled output, toolchain, build tools # make dirclean # compiled output, toolchain, build tools