Evaluate date using C locale and UTC timezone, original patch by Laurent Vivier

git-svn-id: svn://coreboot.org/openbios/openbios-devel@280 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Blue Swirl
2008-12-04 20:14:23 +00:00
parent 431f0f7f28
commit ce3424579b
7 changed files with 12 additions and 12 deletions

View File

@@ -34,7 +34,7 @@ versions: $(ODIR)/forth/version.fs
$(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