summaryrefslogtreecommitdiffstats
path: root/src/Makefile
diff options
context:
space:
mode:
authorPiotr Jaroszyński2010-07-29 15:25:36 +0200
committerMichael Brown2010-08-16 18:34:37 +0200
commit4d068fd53a3b80cbec86be96bb03e77c4515bc5b (patch)
tree2ea9e1dc3cf2d806037c3c6c9d6cdfece1909847 /src/Makefile
parent[build] Properly handle multiple goals per BIN directory (diff)
downloadipxe-4d068fd53a3b80cbec86be96bb03e77c4515bc5b.tar.gz
ipxe-4d068fd53a3b80cbec86be96bb03e77c4515bc5b.tar.xz
ipxe-4d068fd53a3b80cbec86be96bb03e77c4515bc5b.zip
[build] Add everything target
The everything target builds multiple image types on each supported arch/platform combination. 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/Makefile18
1 files changed, 16 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 950a13f6..4dd761c1 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -97,8 +97,9 @@ INCDIRS += include .
# Default build target: build the most common targets and print out a
# helpfully suggestive message
#
-all : bin/blib.a bin/ipxe.dsk bin/ipxe.iso bin/ipxe.usb bin/undionly.kpxe \
- bin/rtl8139.rom
+ALL := bin/blib.a bin/ipxe.dsk bin/ipxe.iso bin/ipxe.usb \
+ bin/undionly.kpxe bin/rtl8139.rom
+all : $(ALL)
@$(ECHO) '==========================================================='
@$(ECHO)
@$(ECHO) 'To create a bootable floppy, type'
@@ -123,6 +124,19 @@ all : bin/blib.a bin/ipxe.dsk bin/ipxe.iso bin/ipxe.usb bin/undionly.kpxe \
###############################################################################
#
+# Comprehensive build target: build a selection of cross-platform
+# targets to expose potential build errors that show up only on
+# certain platforms
+#
+everything :
+ $(Q)$(MAKE) --no-print-directory $(ALL) \
+ bin-i386-efi/ipxe.efi bin-i386-efi/ipxe.efidrv \
+ bin-i386-efi/ipxe.efirom \
+ bin-x86_64-efi/ipxe.efi bin-x86_64-efi/ipxe.efidrv \
+ bin-x86_64-efi/ipxe.efirom
+
+###############################################################################
+#
# Build targets that do nothing but might be tried by users
#
configure :