]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[build] Add everything target
authorPiotr Jaroszyński <p.jaroszynski@gmail.com>
Thu, 29 Jul 2010 13:25:36 +0000 (15:25 +0200)
committerMichael Brown <mcb30@ipxe.org>
Mon, 16 Aug 2010 16:34:37 +0000 (17:34 +0100)
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>
src/Makefile

index 950a13f699f50d8446a2f50d86970ef5b549b6cd..4dd761c1fd44befad3d810a7fffd408c5a853e92 100644 (file)
@@ -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'
@@ -121,6 +122,19 @@ all : bin/blib.a bin/ipxe.dsk bin/ipxe.iso bin/ipxe.usb bin/undionly.kpxe \
        @$(ECHO)
        @$(ECHO) '==========================================================='
 
+###############################################################################
+#
+# 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