From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Wed, 25 Feb 2015 23:13:30 +0100 Subject: [U-Boot] rpi_2 builds fine with make, fails with buildman In-Reply-To: <54ECAC2C.6010306@wwwdotorg.org> References: <20150224094833.2729ec26@lilith> <54ECAC2C.6010306@wwwdotorg.org> Message-ID: <20150225231330.2d9e06af@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Stephen, On Tue, 24 Feb 2015 09:51:56 -0700, Stephen Warren 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.