From patchwork Sat Nov 23 15:12:07 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: buildscript: Remove prepare from buildall command From: Fabian Blaese X-Patchwork-Id: 1228 Message-Id: <20191123151207.1117013-1-fabian@blaese.de> To: franken-dev@freifunk.net Date: Sat, 23 Nov 2019 16:12:07 +0100 The builds for all BSPs have been merged into a single OpenWRT buildroot. A prepare between builds cleans everything that has already been built, including host tools. Building for multiple targets therefore takes quite a bit longer than it has to. This removes the prepare command between builds in the buildall command. It now behaves exactly like multiple conscutive "selectbsp, build" commands, which speeds up the build for multiple devices a lot. This now means, that prepare has to be executed before buildall can be used, just like with the 'build' command. Signed-off-by: Fabian Bläse --- buildscript | 1 - 1 file changed, 1 deletion(-) diff --git a/buildscript b/buildscript index 4a49ca7..2b22a33 100755 --- a/buildscript +++ b/buildscript @@ -383,7 +383,6 @@ setBSP() buildall() { for bsp in $(/bin/ls bsp/*.bsp); do setBSP "$bsp" - prepare build "$1" done }