Author: blueswirl Date: 2008-12-04 21:14:23 +0100 (Thu, 04 Dec 2008) New Revision: 280
Modified: openbios-devel/config/examples/amd64_rules.xml openbios-devel/config/examples/cross-ppc_rules.xml openbios-devel/config/examples/cross-sparc32_rules.xml openbios-devel/config/examples/cross-sparc64_rules.xml openbios-devel/config/examples/sparc32_rules.xml openbios-devel/config/examples/sparc64_rules.xml openbios-devel/config/examples/x86_rules.xml Log: Evaluate date using C locale and UTC timezone, original patch by Laurent Vivier
Modified: openbios-devel/config/examples/amd64_rules.xml =================================================================== --- openbios-devel/config/examples/amd64_rules.xml 2008-12-01 19:08:33 UTC (rev 279) +++ openbios-devel/config/examples/amd64_rules.xml 2008-12-04 20:14:23 UTC (rev 280) @@ -34,7 +34,7 @@
$(ODIR)/forth/version.fs: @test -d $(dir $@) || $(INSTALL) -d $(dir $@) - @DATE="$(shell echo `date +'%b %e %Y %H:%M'`)" ; \ + @DATE="$(shell echo `LC_ALL=C TZ=UTC date +'%b %e %Y %H:%M'`)" ; \ ( echo ": builddate " $$DATE" ; " ; \ echo ": version " $(VERSION)" ; " ; ) \ > $(dir $@)/version.fs
Modified: openbios-devel/config/examples/cross-ppc_rules.xml =================================================================== --- openbios-devel/config/examples/cross-ppc_rules.xml 2008-12-01 19:08:33 UTC (rev 279) +++ openbios-devel/config/examples/cross-ppc_rules.xml 2008-12-04 20:14:23 UTC (rev 280) @@ -40,13 +40,13 @@ versions: $(ODIR)/target/include/openbios-version.h $(ODIR)/forth/version.fs
$(ODIR)/forth/version.fs: - @DATE="$(shell echo `date +'%b %e %Y %H:%M'`)" ; \ + @DATE="$(shell echo `LC_ALL=C TZ=UTC date +'%b %e %Y %H:%M'`)" ; \ ( echo ": builddate " $$DATE" ; " ; \ echo ": version " $(VERSION)" ; " ; ) \ > $(dir $@)/version.fs
$(ODIR)/target/include/openbios-version.h: - @DATE="$(shell echo `date +'%b %e %Y %H:%M'`)" ; \ + @DATE="$(shell echo `LC_ALL=C TZ=UTC date +'%b %e %Y %H:%M'`)" ; \ ( echo "#define OPENBIOS_BUILD_DATE "$$DATE"" ; \ echo "#define OPENBIOS_VERSION_STR "$(VERSION)"" ; \ echo "#define OPENBIOS_RELEASE "$(VERSION)"" ; ) \
Modified: openbios-devel/config/examples/cross-sparc32_rules.xml =================================================================== --- openbios-devel/config/examples/cross-sparc32_rules.xml 2008-12-01 19:08:33 UTC (rev 279) +++ openbios-devel/config/examples/cross-sparc32_rules.xml 2008-12-04 20:14:23 UTC (rev 280) @@ -38,13 +38,13 @@ versions: $(ODIR)/target/include/openbios-version.h $(ODIR)/forth/version.fs
$(ODIR)/forth/version.fs: - @DATE="$(shell echo `date +'%b %e %Y %H:%M'`)" ; \ + @DATE="$(shell echo `LC_ALL=C TZ=UTC date +'%b %e %Y %H:%M'`)" ; \ ( echo ": builddate " $$DATE" ; " ; \ echo ": version " $(VERSION)" ; " ; ) \ > $(dir $@)/version.fs
$(ODIR)/target/include/openbios-version.h: - @DATE="$(shell echo `date +'%b %e %Y %H:%M'`)" ; \ + @DATE="$(shell echo `LC_ALL=C TZ=UTC date +'%b %e %Y %H:%M'`)" ; \ ( echo "#define OPENBIOS_BUILD_DATE "$$DATE"" ; \ echo "#define OPENBIOS_VERSION_STR "$(VERSION)"" ; \ echo "#define OPENBIOS_RELEASE "$(VERSION)"" ; ) \
Modified: openbios-devel/config/examples/cross-sparc64_rules.xml =================================================================== --- openbios-devel/config/examples/cross-sparc64_rules.xml 2008-12-01 19:08:33 UTC (rev 279) +++ openbios-devel/config/examples/cross-sparc64_rules.xml 2008-12-04 20:14:23 UTC (rev 280) @@ -39,13 +39,13 @@ versions: $(ODIR)/target/include/openbios-version.h $(ODIR)/forth/version.fs
$(ODIR)/forth/version.fs: - @DATE="$(shell echo `date +'%b %e %Y %H:%M'`)" ; \ + @DATE="$(shell echo `LC_ALL=C TZ=UTC date +'%b %e %Y %H:%M'`)" ; \ ( echo ": builddate " $$DATE" ; " ; \ echo ": version " $(VERSION)" ; " ; ) \ > $(dir $@)/version.fs
$(ODIR)/target/include/openbios-version.h: - @DATE="$(shell echo `date +'%b %e %Y %H:%M'`)" ; \ + @DATE="$(shell echo `LC_ALL=C TZ=UTC date +'%b %e %Y %H:%M'`)" ; \ ( echo "#define OPENBIOS_BUILD_DATE "$$DATE"" ; \ echo "#define OPENBIOS_VERSION_STR "$(VERSION)"" ; \ echo "#define OPENBIOS_RELEASE "$(VERSION)"" ; ) \
Modified: openbios-devel/config/examples/sparc32_rules.xml =================================================================== --- openbios-devel/config/examples/sparc32_rules.xml 2008-12-01 19:08:33 UTC (rev 279) +++ openbios-devel/config/examples/sparc32_rules.xml 2008-12-04 20:14:23 UTC (rev 280) @@ -43,13 +43,13 @@ versions: $(ODIR)/target/include/openbios-version.h $(ODIR)/forth/version.fs
$(ODIR)/forth/version.fs: - @DATE="$(shell echo `date +'%b %e %Y %H:%M'`)" ; \ + @DATE="$(shell echo `LC_ALL=C TZ=UTC date +'%b %e %Y %H:%M'`)" ; \ ( echo ": builddate " $$DATE" ; " ; \ echo ": version " $(VERSION)" ; " ; ) \ > $(dir $@)/version.fs
$(ODIR)/target/include/openbios-version.h: - @DATE="$(shell echo `date +'%b %e %Y %H:%M'`)" ; \ + @DATE="$(shell echo `LC_ALL=C TZ=UTC date +'%b %e %Y %H:%M'`)" ; \ ( echo "#define OPENBIOS_BUILD_DATE "$$DATE"" ; \ echo "#define OPENBIOS_VERSION_STR "$(VERSION)"" ; \ echo "#define OPENBIOS_RELEASE "$(VERSION)"" ; ) \
Modified: openbios-devel/config/examples/sparc64_rules.xml =================================================================== --- openbios-devel/config/examples/sparc64_rules.xml 2008-12-01 19:08:33 UTC (rev 279) +++ openbios-devel/config/examples/sparc64_rules.xml 2008-12-04 20:14:23 UTC (rev 280) @@ -50,13 +50,13 @@ versions: $(ODIR)/target/include/openbios-version.h $(ODIR)/forth/version.fs
$(ODIR)/forth/version.fs: - @DATE="$(shell echo `date +'%b %e %Y %H:%M'`)" ; \ + @DATE="$(shell echo `LC_ALL=C TZ=UTC date +'%b %e %Y %H:%M'`)" ; \ ( echo ": builddate " $$DATE" ; " ; \ echo ": version " $(VERSION)" ; " ; ) \ > $(dir $@)/version.fs
$(ODIR)/target/include/openbios-version.h: - @DATE="$(shell echo `date +'%b %e %Y %H:%M'`)" ; \ + @DATE="$(shell echo `LC_ALL=C TZ=UTC date +'%b %e %Y %H:%M'`)" ; \ ( echo "#define OPENBIOS_BUILD_DATE "$$DATE"" ; \ echo "#define OPENBIOS_VERSION_STR "$(VERSION)"" ; \ echo "#define OPENBIOS_RELEASE "$(VERSION)"" ; ) \
Modified: openbios-devel/config/examples/x86_rules.xml =================================================================== --- openbios-devel/config/examples/x86_rules.xml 2008-12-01 19:08:33 UTC (rev 279) +++ openbios-devel/config/examples/x86_rules.xml 2008-12-04 20:14:23 UTC (rev 280) @@ -38,7 +38,7 @@
$(ODIR)/forth/version.fs: @test -d $(dir $@) || $(INSTALL) -d $(dir $@) - @DATE="$(shell echo `date +'%b %e %Y %H:%M'`)" ; \ + @DATE="$(shell echo `LC_ALL=C TZ=UTC date +'%b %e %Y %H:%M'`)" ; \ ( echo ": builddate " $$DATE" ; " ; \ echo ": version " $(VERSION)" ; " ; ) \ > $(dir $@)/version.fs