mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-17 10:32:44 +01:00
make: escape unknown version string
This commit is contained in:
parent
b0045b21df
commit
66a6aae1a8
@ -130,7 +130,7 @@ ifeq ($(origin RIOT_VERSION), undefined)
|
||||
RIOT_VERSION := $(GIT_STRING)-$(GIT_BRANCH)
|
||||
endif
|
||||
else
|
||||
RIOT_VERSION := UNKNOWN (builddir: $(RIOTBASE))
|
||||
RIOT_VERSION := "UNKNOWN (builddir: $(RIOTBASE))"
|
||||
endif
|
||||
endif
|
||||
export CFLAGS += -DRIOT_VERSION=\"$(RIOT_VERSION)\"
|
||||
|
Loading…
Reference in New Issue
Block a user