public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] rpi_2 builds fine with make, fails with buildman
@ 2015-02-24  8:48 Albert ARIBAUD
  2015-02-24 16:51 ` Stephen Warren
  0 siblings, 1 reply; 3+ messages in thread
From: Albert ARIBAUD @ 2015-02-24  8:48 UTC (permalink / raw)
  To: u-boot

Hello,

Can anyone confirm that on current u-boot/master, rpi_2 build fine with

	git clean -xfd; make rpi_2_defconfig; make

but fails with

	tools/buildman/buildman rpi_2

with the following error:

>        arm: +   rpi_2              
> +make[3]: *** No rule to make target 'arch/arm/cpu/armv7/bcm2835/../../arm1176/bcm2835//init.o', needed by 'arch/arm/cpu/armv7/bcm2835/built-in.o'.  Stop.
> +make[2]: *** [arch/arm/cpu/armv7/bcm2835] Error 2
> +make[1]: *** [arch/arm/cpu/armv7] Error 2
> +make: *** [sub-make] Error 2

My gut feeling is that the problem lies with the fact that
arch/arm/cpu/armv7/bcm2835/ contains a Makefile which refers to
init.o, reset.o, timer.o and mbox.o but the source code for these
resides in another directory, arch/arm/cpu/arm1176/bcm2835/.

CC:ing Stephen as directory arch/arm/cpu/armv7/bcm2835/ was introduced
by his commit db75356f (committed by Tom, also cc:) and Simon, since
the issue is related to buildman.

Amicalement,
-- 
Albert.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] rpi_2 builds fine with make, fails with buildman
  2015-02-24  8:48 [U-Boot] rpi_2 builds fine with make, fails with buildman Albert ARIBAUD
@ 2015-02-24 16:51 ` Stephen Warren
  2015-02-25 22:13   ` Albert ARIBAUD
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Warren @ 2015-02-24 16:51 UTC (permalink / raw)
  To: u-boot

On 02/24/2015 01:48 AM, Albert ARIBAUD wrote:
> Hello,
>
> Can anyone confirm that on current u-boot/master, rpi_2 build fine with
>
> 	git clean -xfd; make rpi_2_defconfig; make
>
> but fails with
>
> 	tools/buildman/buildman rpi_2
>
> with the following error:
>
>>         arm: +   rpi_2
>> +make[3]: *** No rule to make target 'arch/arm/cpu/armv7/bcm2835/../../arm1176/bcm2835//init.o', needed by 'arch/arm/cpu/armv7/bcm2835/built-in.o'.  Stop.
>> +make[2]: *** [arch/arm/cpu/armv7/bcm2835] Error 2
>> +make[1]: *** [arch/arm/cpu/armv7] Error 2
>> +make: *** [sub-make] Error 2
>
> My gut feeling is that the problem lies with the fact that
> arch/arm/cpu/armv7/bcm2835/ contains a Makefile which refers to
> init.o, reset.o, timer.o and mbox.o but the source code for these
> resides in another directory, arch/arm/cpu/arm1176/bcm2835/.
>
> CC:ing Stephen as directory arch/arm/cpu/armv7/bcm2835/ was introduced
> by his commit db75356f (committed by Tom, also cc:) and Simon, since
> the issue is related to buildman.

This problem exists with quite a few boards, including the rpi port 
before the addition of rpi_2 support. It's a bit intermittent which may 
be why you didn't notice before.

See the following, and replies:
http://lists.denx.de/pipermail/u-boot/2015-February/205255.html

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] rpi_2 builds fine with make, fails with buildman
  2015-02-24 16:51 ` Stephen Warren
@ 2015-02-25 22:13   ` Albert ARIBAUD
  0 siblings, 0 replies; 3+ messages in thread
From: Albert ARIBAUD @ 2015-02-25 22:13 UTC (permalink / raw)
  To: u-boot

Hello Stephen,

On Tue, 24 Feb 2015 09:51:56 -0700, Stephen Warren
<swarren@wwwdotorg.org> wrote:
> On 02/24/2015 01:48 AM, Albert ARIBAUD wrote:
> > Hello,
> >
> > Can anyone confirm that on current u-boot/master, rpi_2 build fine with
> >
> > 	git clean -xfd; make rpi_2_defconfig; make
> >
> > but fails with
> >
> > 	tools/buildman/buildman rpi_2
> >
> > with the following error:
> >
> >>         arm: +   rpi_2
> >> +make[3]: *** No rule to make target 'arch/arm/cpu/armv7/bcm2835/../../arm1176/bcm2835//init.o', needed by 'arch/arm/cpu/armv7/bcm2835/built-in.o'.  Stop.
> >> +make[2]: *** [arch/arm/cpu/armv7/bcm2835] Error 2
> >> +make[1]: *** [arch/arm/cpu/armv7] Error 2
> >> +make: *** [sub-make] Error 2
> >
> > My gut feeling is that the problem lies with the fact that
> > arch/arm/cpu/armv7/bcm2835/ contains a Makefile which refers to
> > init.o, reset.o, timer.o and mbox.o but the source code for these
> > resides in another directory, arch/arm/cpu/arm1176/bcm2835/.
> >
> > CC:ing Stephen as directory arch/arm/cpu/armv7/bcm2835/ was introduced
> > by his commit db75356f (committed by Tom, also cc:) and Simon, since
> > the issue is related to buildman.
> 
> This problem exists with quite a few boards, including the rpi port 
> before the addition of rpi_2 support. It's a bit intermittent which may 
> be why you didn't notice before.
> 
> See the following, and replies:
> http://lists.denx.de/pipermail/u-boot/2015-February/205255.html

Thanks. Indeed it hadn't bitten me so far.

Amicalement,
-- 
Albert.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-02-25 22:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-02-24  8:48 [U-Boot] rpi_2 builds fine with make, fails with buildman Albert ARIBAUD
2015-02-24 16:51 ` Stephen Warren
2015-02-25 22:13   ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox