summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorPiotr Jaroszyński2010-07-29 15:17:30 +0200
committerMichael Brown2010-08-16 18:26:20 +0200
commit2d98d4a0182caf51cd4be7f8aa5ec604c42e1f4d (patch)
tree3f7a257f9683bcc1d5ecd7e9e1198f7bbcb5f1c0 /src/Makefile
parent[build] Build pcbios specific drivers only on pcbios (diff)
downloadipxe-2d98d4a0182caf51cd4be7f8aa5ec604c42e1f4d.tar.gz
ipxe-2d98d4a0182caf51cd4be7f8aa5ec604c42e1f4d.tar.xz
ipxe-2d98d4a0182caf51cd4be7f8aa5ec604c42e1f4d.zip
[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 <p.jaroszynski@gmail.com> Modified-by: Michael Brown <mcb30@ipxe.org> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile
index 94a701b7..950a13f6 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -21,6 +21,7 @@ CP := cp
ECHO := echo
PRINTF := printf
PERL := perl
+TRUE := true
CC := $(CROSS_COMPILE)gcc
CPP := $(CC) -E
AS := $(CROSS_COMPILE)as