Skip to content

Commit

Permalink
Makefile: always provide VERSION_STRING if none set.
Browse files Browse the repository at this point in the history
Without this set the compile-without-docker script did not work. They do
not have git installed.
  • Loading branch information
wutje authored and egzumer committed Dec 25, 2023
1 parent 986c0ce commit ab61c4e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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


Expand Down

0 comments on commit ab61c4e

Please sign in to comment.