From ab61c4e74fda44cfb33c0c83c19acbe107eb4e5c Mon Sep 17 00:00:00 2001 From: Wouter van Gulik Date: Sun, 24 Dec 2023 23:27:32 +1300 Subject: [PATCH] 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. --- Makefile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Makefile b/Makefile index 85cfa7f..9de8dea 100644 --- a/Makefile +++ b/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