From mboxrd@z Thu Jan 1 00:00:00 1970 From: York Sun Date: Thu, 13 Nov 2014 16:17:12 -0800 Subject: [U-Boot] buildman with distcc In-Reply-To: References: <54653853.4080406@freescale.com> <546538D4.6050309@freescale.com> <546546A7.6040806@freescale.com> Message-ID: <54654A08.3020101@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 11/13/2014 04:14 PM, Simon Glass wrote: > Hi York, > > On 13 November 2014 17:02, York Sun wrote: >> On 11/13/2014 04:01 PM, Simon Glass wrote: >>> Hi York, >>> >>> On 13 November 2014 16:03, York Sun wrote: >>>> >>>> On 11/13/2014 03:01 PM, York Sun wrote: >>>>> Simon, >>>>> >>>>> Is it possible to use buildman with distcc? I am trying to speed up compiling. >>>>> Using MAKEALL or make I can specify CROSS_COMPILE="distcc >>>> don't know how to do this with buildman. >>>>> >>>> >>>> I meant to use buildman with multiple architectures, like 'arm & freescale' >>>> powerpc aarch64 together. >>> >>> I wonder what would happen if you put it in the '[toolchain]' section >>> of ~/.buildman ? >>> >> >> buildman --list-tool-chains cannot detect the toolchain if doing so. > > No, it works by looking for filenames rather than running the command > line. But that should not affect operation. The path in ./.buildman is partial. buildman appends other stuff to make a complete path. I need to put double quote for "distcc ". I don't see how that could work. > >> >> If not using buildman, I can modify Makefile to prefix distcc to CC and keep >> using MAKEALL. > > Indeed. I wonder why that doesn't work with buildman? Doesn't buildman checkout each commit? Modifying the Makefile doesn't survive a checkout. York