[PATCH] buildscript: Remove prepare from buildall command

Fabian Bläse fabian at blaese.de
Sa Nov 23 16:12:07 CET 2019


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 <fabian at blaese.de>
---
 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
 }
-- 
2.24.0



Mehr Informationen über die Mailingliste franken-dev