ソースを参照

[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>
tags/v1.20.1
Piotr Jaroszyński 14年前
コミット
4d068fd53a
1個のファイルの変更16行の追加2行の削除
  1. 16
    2
      src/Makefile

+ 16
- 2
src/Makefile ファイルの表示

@@ -97,8 +97,9 @@ INCDIRS		+= include .
97 97
 # Default build target: build the most common targets and print out a
98 98
 # helpfully suggestive message
99 99
 #
100
-all : bin/blib.a bin/ipxe.dsk bin/ipxe.iso bin/ipxe.usb bin/undionly.kpxe \
101
-      bin/rtl8139.rom
100
+ALL		:= bin/blib.a bin/ipxe.dsk bin/ipxe.iso bin/ipxe.usb \
101
+		   bin/undionly.kpxe bin/rtl8139.rom
102
+all : $(ALL)
102 103
 	@$(ECHO) '==========================================================='
103 104
 	@$(ECHO)
104 105
 	@$(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 \
121 122
 	@$(ECHO)
122 123
 	@$(ECHO) '==========================================================='
123 124
 
125
+###############################################################################
126
+#
127
+# Comprehensive build target: build a selection of cross-platform
128
+# targets to expose potential build errors that show up only on
129
+# certain platforms
130
+#
131
+everything :
132
+	$(Q)$(MAKE) --no-print-directory $(ALL) \
133
+		bin-i386-efi/ipxe.efi bin-i386-efi/ipxe.efidrv \
134
+		bin-i386-efi/ipxe.efirom \
135
+		bin-x86_64-efi/ipxe.efi bin-x86_64-efi/ipxe.efidrv \
136
+		bin-x86_64-efi/ipxe.efirom
137
+
124 138
 ###############################################################################
125 139
 #
126 140
 # Build targets that do nothing but might be tried by users

読み込み中…
キャンセル
保存