[U-Boot] [PATCH v3] Allow for parallel builds and saved output

Albert ARIBAUD albert.u.boot at aribaud.net
Tue May 8 21:17:37 CEST 2012


Le 06/05/2012 03:48, Marek Vasut a écrit :
> Dear Wolfgang Denk,
>
>> Dear Andy Fleming,
>>
>> In message<1335332031-24138-1-git-send-email-afleming at freescale.com>  you
> wrote:
>>> The MAKEALL script cleverly runs make with the appropriate options
>>> to use all of the cores on the system, but your average U-Boot build
>>> can't make much use of more than a few cores.  If you happen to have
>>> a many-core server, your builds will leave most of the system idle.
> [...]
>>>   MAKEALL |  137
>>>   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++------- 1 files
>>>   changed, 122 insertions(+), 15 deletions(-)
>>
>> Applied, thanks.
>
> What do you get if you run:
>
> ./MAKEALL -a arm -l
>
> ? :-)

I am being hit by a spurious build failure in parallel build: pdnb3 
succeeds when built alone but fails in a MAKEALL arm with the following 
.ERR:

mv: cannot stat 
`/home/uboot/src/u-boot-arm/build/pdnb3/include/autoconf.mk.tmp': No 
such file or directory

Looks like several builds competed for this temp file name :)...

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list