buildscript: Remove prepare from buildall command

Submitted by Fabian Blaese on Nov. 23, 2019, 3:12 p.m.


Message ID
State Accepted
Headers show

Commit Message

Fabian Blaese Nov. 23, 2019, 3:12 p.m.
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(-)

Patch hide | download patch | download mbox

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"


Fabian Blaese Nov. 23, 2019, 5:50 p.m.