make: add RIOTBASE to UNKNOWN RIOT_VERSION

This commit is contained in:
Ludwig Ortmann 2014-07-30 15:44:31 +02:00
parent 9d9d2aff93
commit e677aa4ec0

View File

@ -74,7 +74,7 @@ ifeq ($(origin RIOT_VERSION), undefined)
RIOT_VERSION := $(GIT_STRING)-$(GIT_BRANCH)
endif
else
RIOT_VERSION := UNKNOWN
RIOT_VERSION := UNKNOWN (builddir: $(RIOTBASE))
endif
endif
export CFLAGS += -DRIOT_VERSION='"$(RIOT_VERSION)"'