1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

make: escape unknown version string

This commit is contained in:
Ludwig Ortmann 2015-01-05 11:33:19 +01:00
parent b0045b21df
commit 66a6aae1a8

View File

@ -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)\"