From 4d068fd53a3b80cbec86be96bb03e77c4515bc5b Mon Sep 17 00:00:00 2001 From: Piotr Jaroszyński Date: Thu, 29 Jul 2010 15:25:36 +0200 Subject: [build] Add everything target The everything target builds multiple image types on each supported arch/platform combination. Signed-off-by: Piotr Jaroszyński Modified-by: Michael Brown Signed-off-by: Michael Brown --- src/Makefile | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) (limited to 'src/Makefile') 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' @@ -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 -- cgit v1.2.3-55-g7522