make/version: correct the version generation
incorrect version generation by commit 3ec12a84c2
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
0fe2884713
commit
b8e5755568
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue