When building multiple targets per BIN with multiple jobs, for
example:
make -j16 bin-i386-efi/ipxe.efi{,drv,rom} bin-x86_64-efi/ipxe.efi{,drv,rom}
we would invoke a make subprocess for each goal in parallel resulting
in multiple makes running in a single BIN directory. Fix by grouping
goals per BIN directory and invoking only one make per BIN. It is
both safer and faster.
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
|
|
||
| 21 |
|
21 |
|
| 22 |
|
22 |
|
| 23 |
|
23 |
|
|
24 |
|
|
| 24 |
|
25 |
|
| 25 |
|
26 |
|
| 26 |
|
27 |
|
|
|
||
| 174 |
|
174 |
|
| 175 |
|
175 |
|
| 176 |
|
176 |
|
| 177 |
|
|
|
| 178 |
|
|
|
|
177 |
|
|
|
178 |
|
|
|
179 |
|
|
| 179 |
|
180 |
|
| 180 |
|
181 |
|
| 181 |
|
182 |
|
|
|
||
| 191 |
|
192 |
|
| 192 |
|
193 |
|
| 193 |
|
194 |
|
| 194 |
|
|
|
|
195 |
|
|
| 195 |
|
196 |
|
| 196 |
|
197 |
|
| 197 |
|
198 |
|
| 198 |
|
199 |
|
| 199 |
|
200 |
|
| 200 |
|
|
|
|
201 |
|
|
|
202 |
|
|
|
203 |
|
|
| 201 |
|
204 |
|
| 202 |
|
205 |
|
| 203 |
|
206 |
|
| 204 |
|
207 |
|
| 205 |
|
208 |
|
| 206 |
|
|
|
| 207 |
|
|
|
|
209 |
|
|
|
210 |
|
|
|
211 |
|
|
|
212 |
|
|
|
213 |
|
|
|
214 |
|
|
|
215 |
|
|
|
216 |
|
|
|
217 |
|
|
| 208 |
|
218 |
|
| 209 |
|
219 |
|
| 210 |
|
220 |
|