Makefile: always provide VERSION_STRING if none set.
Without this set the compile-without-docker script did not work. They do not have git installed.
This commit is contained in:
committed by
egzumer
parent
986c0ce368
commit
ab61c4e74f
5
Makefile
5
Makefile
@@ -207,6 +207,11 @@ ifneq (, $(shell $(WHERE) git))
|
||||
VERSION_STRING := $(shell git rev-parse --short HEAD)
|
||||
endif
|
||||
endif
|
||||
# If there is still no VERSION_STRING we need to make one.
|
||||
# It is needed for the firmware packing script
|
||||
ifeq (, $(VERSION_STRING))
|
||||
VERSION_STRING := NOGIT
|
||||
endif
|
||||
#VERSION_STRING := 230930b
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user