1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

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)"'