The everything target builds multiple image types on each supported
arch/platform combination.

Signed-off-by: Piotr Jaroszyński <p.jaroszyn...@gmail.com>
Modified-by: Michael Brown <mc...@ipxe.org>
Signed-off-by: Michael Brown <mc...@ipxe.org>
---
 src/Makefile |   18 ++++++++++++++++--
 1 files changed, 16 insertions(+), 2 deletions(-)

diff --git a/src/Makefile b/src/Makefile
index e23737e..bb4ad29 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/gpxe.dsk bin/gpxe.iso bin/gpxe.usb bin/undionly.kpxe \
-      bin/rtl8139.rom
+ALL            := bin/blib.a bin/gpxe.dsk bin/gpxe.iso bin/gpxe.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/gpxe.dsk bin/gpxe.iso bin/gpxe.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/gpxe.efi bin-i386-efi/gpxe.efidrv \
+               bin-i386-efi/gpxe.efirom \
+               bin-x86_64-efi/gpxe.efi bin-x86_64-efi/gpxe.efidrv \
+               bin-x86_64-efi/gpxe.efirom
+
+###############################################################################
+#
 # Build targets that do nothing but might be tried by users
 #
 configure :
-- 
1.7.2.1

_______________________________________________
gPXE-devel mailing list
gPXE-devel@etherboot.org
http://etherboot.org/mailman/listinfo/gpxe-devel

Reply via email to