Move make clean options to beginning
This commit is contained in:
@@ -526,7 +526,11 @@ from_source() {
|
|||||||
|
|
||||||
# Cleanup build environment
|
# Cleanup build environment
|
||||||
((VERBOSE)) && make_opts+=("V=s")
|
((VERBOSE)) && make_opts+=("V=s")
|
||||||
execute make "${make_opts[@]}" "-j1" dirclean # TODO 'dirclean' has a bug that triggers menuconfig
|
execute make "${make_opts[@]}" "-j1" dirclean
|
||||||
|
# make clean # compiled output
|
||||||
|
# make targetclean # compiled output, toolchain
|
||||||
|
# make dirclean # compiled output, toolchain, build tools
|
||||||
|
# make distclean # compiled output, toolchain, build tools, .config, feeds, .ccache
|
||||||
|
|
||||||
# Update package feed
|
# Update package feed
|
||||||
./scripts/feeds update -i -f &&
|
./scripts/feeds update -i -f &&
|
||||||
@@ -583,12 +587,6 @@ from_source() {
|
|||||||
echo "$config" >> "$seed_file"
|
echo "$config" >> "$seed_file"
|
||||||
done
|
done
|
||||||
|
|
||||||
# Cleaning modes
|
|
||||||
# make clean # compiled output
|
|
||||||
# make targetclean # compiled output, toolchain
|
|
||||||
# make dirclean # compiled output, toolchain, build tools
|
|
||||||
# make distclean # compiled output, toolchain, build tools, .config, feeds, .ccache
|
|
||||||
|
|
||||||
# Make prep
|
# Make prep
|
||||||
execute make "${make_opts[@]}" "-j1" defconfig
|
execute make "${make_opts[@]}" "-j1" defconfig
|
||||||
execute make "${make_opts[@]}" "-j1" download
|
execute make "${make_opts[@]}" "-j1" download
|
||||||
|
|||||||
Reference in New Issue
Block a user