make: add RIOTBASE to UNKNOWN RIOT_VERSION
This commit is contained in:
parent
9d9d2aff93
commit
e677aa4ec0
@ -74,7 +74,7 @@ ifeq ($(origin RIOT_VERSION), undefined)
|
|||||||
RIOT_VERSION := $(GIT_STRING)-$(GIT_BRANCH)
|
RIOT_VERSION := $(GIT_STRING)-$(GIT_BRANCH)
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
RIOT_VERSION := UNKNOWN
|
RIOT_VERSION := UNKNOWN (builddir: $(RIOTBASE))
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
export CFLAGS += -DRIOT_VERSION='"$(RIOT_VERSION)"'
|
export CFLAGS += -DRIOT_VERSION='"$(RIOT_VERSION)"'
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user