make/version: correct the version generation

incorrect version generation by commit 3ec12a84c29d549d3de1e077f05bfb07ff315de5

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an 2020-06-30 11:12:01 +08:00 committed by Alin Jerpelea
parent 0fe2884713
commit b8e5755568

View File

@ -31,7 +31,7 @@ endif
# In case we cannot get version information from GIT
ifneq ($(GIT_PRESENT),true)
ifeq ($(GIT_PRESENT),)
-include $(TOPDIR)/.version
# In case the version file does not exist