From 647f64c99ef55cf1dc062af89705f400d974d9a8 Mon Sep 17 00:00:00 2001 From: bryan Date: Sat, 7 Dec 2024 15:16:29 -0500 Subject: [PATCH] Move make clean options to beginning --- openwrtbuilder | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/openwrtbuilder b/openwrtbuilder index 18dec6a..cd4bcac 100755 --- a/openwrtbuilder +++ b/openwrtbuilder @@ -526,7 +526,11 @@ from_source() { # Cleanup build environment ((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 ./scripts/feeds update -i -f && @@ -583,12 +587,6 @@ from_source() { echo "$config" >> "$seed_file" 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 execute make "${make_opts[@]}" "-j1" defconfig execute make "${make_opts[@]}" "-j1" download