From: Masahiro Yamada Date: Fri, 21 Nov 2014 13:53:41 +0900 Subject: [U-Boot] help on using buildman In-Reply-To: <20141121134204.2F67.AA925319@jp.panasonic.com> References: <20141121134204.2F67.AA925319@jp.panasonic.com> Message-ID: <20141121135341.2F6E.AA925319@jp.panasonic.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi York, Simon, On Fri, 21 Nov 2014 13:42:05 +0900 Masahiro Yamada wrote: > > Hi York, > > > > On 21 November 2014 00:35, York Sun 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=. 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