[Buildroot] [PATCHv2] openocd: avoid documentation rebuild to fix build issues

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Feb 28 09:03:46 UTC 2017


Hello,

On Tue, 28 Feb 2017 11:26:25 +1100, Sam Bobroff wrote:

> i.e. This causes a doc rebuild on my system (with freshly unpacked
> source):
> touch configure && ./configure && env TZ="US/Eastern" make -C doc
> 
> But this doesn't:
> touch configure && ./configure && env TZ="Australia/Sydney" make -C doc
> 
> (So it's actually a bug in their build system, maybe they'd fix it
> upstream? ;-))

I'm not sure it's really a bug.

The version.texi file contains a date, which will be 17 May 2015 or 18
May 2015 depending on your time zone.

In one case, the version.texi file generated will be the same as the
one in the tarball, and in this case, it is careful not to change the
timestamp. In other case, the version.texi file really has changed, and
therefore its timestamp is updated, causing the rebuild.

That's my explanation of the issue. Of course, there's always the
possibility that I did not fully understand the origin of the issue.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com


More information about the buildroot mailing list