Andreas Freimuth ·
Signed-off-by: Andreas Freimuth <m.nemo at gmx.net> --- Zu meiner Verteidigung... Ich hatte das geteste. Und es lief.. sogar mit den drei unterschiedlichen Schreibweisen für SUB_PROCESS_IDS buildmk.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/buildmk.sh b/buildmk.sh index 2a95f74..a97c324 100644 --- a/buildmk.sh +++ b/buildmk.sh @@ -175,6 +175,7 @@ if [ "$FILES" != "" ]; then fi echo obj: $PWDLINE $FILES >> Makefile +SUB_PROCESS_IDS="" # Unterverzeichnisse von src rekursiv durchsuchen echo >> Makefile @@ -191,11 +192,13 @@ 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" & + SUB_PROCESS_IDS="$! $SUB_PROCESS_IDS" cd .. fi done + # Kompilieren der Quellcode-Dateien for file in *.c *.cpp *.asm *.pas *.S; do if [ -f $file ]; then @@ -268,3 +271,5 @@ 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 + +wait $SUB_PROCESS_IDS -- 1.7.9.3