From 2d98d4a0182caf51cd4be7f8aa5ec604c42e1f4d Mon Sep 17 00:00:00 2001 From: Piotr Jaroszyński Date: Thu, 29 Jul 2010 15:17:30 +0200 Subject: [build] Properly handle multiple goals per BIN directory When building multiple targets per BIN with multiple jobs, for example: make -j16 bin-i386-efi/ipxe.efi{,drv,rom} bin-x86_64-efi/ipxe.efi{,drv,rom} we would invoke a make subprocess for each goal in parallel resulting in multiple makes running in a single BIN directory. Fix by grouping goals per BIN directory and invoking only one make per BIN. It is both safer and faster. Signed-off-by: Piotr Jaroszyński