build timestamps don't work

Antony Pavlov antonynpavlov at gmail.com
Fri May 18 06:50:56 EDT 2012


On 18 May 2012 12:49, Sascha Hauer <s.hauer at pengutronix.de> wrote:
> On Fri, May 18, 2012 at 12:28:52AM +0400, Antony Pavlov wrote:
>> On 17 May 2012 22:19, Sascha Hauer <s.hauer at pengutronix.de> wrote:
>> > On Thu, May 17, 2012 at 09:52:36PM +0400, Antony Pavlov wrote:
>> >> ping
>> >>
>> >> On 16 May 2012 08:27, Antony Pavlov <antonynpavlov at gmail.com> wrote:
>> >> > Hi!
>> >> >
>> >> >  I have found that on my Debian testing build system generation of
>> >> > timestamps don't work correctly.
>> >
>> > I just tried and it works with ARM builds. Tried again with MIPS, and
>> > yes, indeed it does not work. Maybe worth looking at the architecture
>> > specific Makefile.
>> >
>>
>> I tried another debian linux. I tried ARM & MIPS: the both don't work.
>>
>> I checked linux-3.1 build for mips: it work. At least  there is one differrence:
>> in linux if i make 'rm .version && make', then scripts/mkcompile_h
>> started _two_ times, but only _one_ time in barebox.
>
> Just to make sure, you have the following in your tree, right?
>
> commit 55c81081e577922a8d7d0a1d633efb7feb3560d4
> Author: Sascha Hauer <s.hauer at pengutronix.de>
> Date:   Sun Apr 15 12:05:21 2012 +0200
>
>    Makefile: fix build timestamps
>
>    This patch adds the scripts/mkcompile_h from the Kernel. This gives
>    us additional information about the build like who built this binary
>    and with which compiler. Currently the only information used is the
>    build timestamp and the generation number.
>    This also fixes the build timestamp in the banner which is now
> correct
>    even with consecutive builds without making clean in between.
>
>    Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>

Yes, I have this commit in my tree. I used the 'next' branch.

-- 
Best regards,
  Antony Pavlov



More information about the barebox mailing list