[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[tyndur-devel] [PATCH v3] build: buildmk.sh parallel in allen Unterverzeichnissen ausführen



Signed-off-by: Andreas Freimuth <m.nemo@xxxxxxx>
---

 OK. Funktioniert hatte es weil man die Prozess IDs garnicht braucht.

 buildmk.sh |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/buildmk.sh b/buildmk.sh
index 2a95f74..96044f3 100644
--- a/buildmk.sh
+++ b/buildmk.sh
@@ -191,7 +191,7 @@ for file in lib rtl !(lib|rtl|arch) arch; do
 #    echo -e \\tmake -C "$file" '| (grep -vE "^(make|if)" || true)' >> Makefile
 
     cd $file
-    bash $LOST_BUILDMK_ROOT/buildmk.sh "$INCLUDES" "$LIBDIRS"
+    bash $LOST_BUILDMK_ROOT/buildmk.sh "$INCLUDES" "$LIBDIRS" &
     cd ..
   fi
 done
@@ -268,3 +268,6 @@ clean: clean_objs
 
 .SILENT: all makefiles subdirs obj lbuilds-env enable-pascal disable-pascal clean softclean clean_objs clean_root updateroot image-floppy image-hd test-qemu test-qemu-hd
 EOF
+
+# Auf alle Unterprozesse warten
+wait
-- 
1.7.9.3