Re: [U-Boot] Building for several archs

2015-10-19 Thread York Sun
On 10/19/2015 02:17 PM, Fabio Estevam wrote: > Hi, > > I am working on a patch series that I need to test across several > architectures (Need to build all the boards that select > CONFIG_SPI_FLASH_STMICRO). > > I started trying to accomplish this task with buildman and it failed > to build.

Re: [U-Boot] Building for several archs

2015-10-19 Thread York Sun
On 10/19/2015 02:27 PM, Fabio Estevam wrote: > On Mon, Oct 19, 2015 at 7:21 PM, York Sun wrote: >> On 10/19/2015 02:17 PM, Fabio Estevam wrote: >>> Hi, >>> >>> I am working on a patch series that I need to test across several >>> architectures (Need to build all the

Re: [U-Boot] Building for several archs

2015-10-19 Thread Fabio Estevam
On Mon, Oct 19, 2015 at 7:21 PM, York Sun wrote: > On 10/19/2015 02:17 PM, Fabio Estevam wrote: >> Hi, >> >> I am working on a patch series that I need to test across several >> architectures (Need to build all the boards that select >> CONFIG_SPI_FLASH_STMICRO). >> >> I

[U-Boot] Building for several archs

2015-10-19 Thread Fabio Estevam
Hi, I am working on a patch series that I need to test across several architectures (Need to build all the boards that select CONFIG_SPI_FLASH_STMICRO). I started trying to accomplish this task with buildman and it failed to build. After that I tried building it manually. I am getting the

Re: [U-Boot] Building for several archs

2015-10-19 Thread Tom Rini
On Mon, Oct 19, 2015 at 07:17:51PM -0200, Fabio Estevam wrote: > Hi, > > I am working on a patch series that I need to test across several > architectures (Need to build all the boards that select > CONFIG_SPI_FLASH_STMICRO). > > I started trying to accomplish this task with buildman and it

Re: [U-Boot] Building for several archs

2015-10-19 Thread Fabio Estevam
On Mon, Oct 19, 2015 at 7:36 PM, Tom Rini wrote: > Something is very whacky. From my ~/.buildman: > > [toolchain] > m68k: /opt/gcc-4.9.0-nolibc/m68k-linux Interesting. For m68k I am using this same toolchain: export ARCH=m68k export

Re: [U-Boot] Building for several archs

2015-10-19 Thread Tom Rini
On Mon, Oct 19, 2015 at 08:49:33PM -0200, Fabio Estevam wrote: > On Mon, Oct 19, 2015 at 7:36 PM, Tom Rini wrote: > > > Something is very whacky. From my ~/.buildman: > > > > [toolchain] > > m68k: /opt/gcc-4.9.0-nolibc/m68k-linux > > Interesting. For m68k I am using this

Re: [U-Boot] Building for several archs

2015-10-19 Thread Fabio Estevam
On Mon, Oct 19, 2015 at 9:53 PM, Tom Rini wrote: >> Yes, you are right. >> >> I had to use the brute force approach and git clone the tree again. >> >> Now I can build for different archs. > > 'git clean -dfx' should also do it, btw. Great, thanks for this hint.

Re: [U-Boot] Building for several archs

2015-10-19 Thread Fabio Estevam
On Mon, Oct 19, 2015 at 9:04 PM, Tom Rini wrote: > I bet you have a dirty tree. I never do in-tree builds and only do out > of tree builds and I've heard earlier today that there's some problems > with dirty in-tree builds. Yes, you are right. I had to use the brute force

Re: [U-Boot] Building for several archs

2015-10-19 Thread Tom Rini
On Mon, Oct 19, 2015 at 09:36:45PM -0200, Fabio Estevam wrote: > On Mon, Oct 19, 2015 at 9:04 PM, Tom Rini wrote: > > > I bet you have a dirty tree. I never do in-tree builds and only do out > > of tree builds and I've heard earlier today that there's some problems > > with