mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user