summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 :