[U-Boot] help on using buildman

Masahiro Yamada yamada.m at jp.panasonic.com
Fri Nov 21 05:53:41 CET 2014


Hi York, Simon,




On Fri, 21 Nov 2014 13:42:05 +0900
Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:

> > Hi York,
> > 
> > On 21 November 2014 00:35, York Sun <yorksun at freescale.com> wrote:
> > > On 11/20/2014 02:25 PM, York Sun wrote:
> > >> Not sure if this is still buildman related, but only visible when running with
> > >> buildman.
> > >
> > > Simon,
> > >
> > > It seems related to out-of-tree building.
> > >
> > > For the failure case, the dependency "include/config/uboot.release" completes
> > > but not continue to run. It seems to be related to out of tree building. When I
> > > use buildman, it use out-of-tree building by default. I can reproduce the issue
> > > by using make directly with O=<path>. I don't understand how out-of-tree
> > > building would inconsistently fail.
> > >
> > >
> > > -bash-3.2$
> > > CROSS_COMPILE=/opt/fsl-networking/QorIQ-SDK-V1.4/sysroots/x86_64-fsl_networking_sdk-linux/usr/bin/ppce500mc-fsl_networking-linux/powerpc-fsl_networking-linux-
> > > make -j24 O=../working_upstream_qoriq/ mrproper MPC832XEMDS_HOST_66_defconfig all
> 
> 
> Please do not run "mrproper" with "*_defconfig" and "all".
> 
> 
> Doing "_defconfig" and "all" at one time is supported,
> but you must "clean" or "mrproper" separately.
> This is the upstream limitation.  Linux Kernel does not support it either.
> 
> 
> Without -j* option,  "make mrproper  *_defconfig  all" works, of course,
> because they are run one by one in the given order.
> 
> With -j* option, it would not work because
> the build system removes some files while it compiles other objects.
> 
> I guess this is the root cause of the inconsistent fails you have seen.



Sorry, this was my misunderstanding.


"make mrproper *_defconfig all" works.  Then, it is still a mystery...


Best Regards
Masahiro Yamada


More information about the U-Boot mailing list