mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
Improve version number handling
Signed-off-by: Blue Swirl <blauwirbel@gmail.com> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@533 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
@@ -38,8 +38,6 @@ AS_FLAGS+= -g
|
||||
|
||||
all: versions dictionaries host-libraries target-libraries host-executables target-executables
|
||||
|
||||
VERSION := "1.0"
|
||||
|
||||
versions: $(ODIR)/target/include/openbios-version.h $(ODIR)/forth/version.fs
|
||||
|
||||
$(ODIR)/forth/version.fs:
|
||||
@@ -51,8 +49,7 @@ $(ODIR)/forth/version.fs:
|
||||
$(ODIR)/target/include/openbios-version.h:
|
||||
@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)\"" ; ) \
|
||||
echo "#define OPENBIOS_VERSION_STR \"$(VERSION)\"" ; ) \
|
||||
> $(dir $@)/openbios-version.h
|
||||
|
||||
info:
|
||||
|
||||
Reference in New Issue
Block a user