build system: fix IDF_VER for projects outside of ESP-IDF tree

This commit is contained in:
Ivan Grokhotkov 2017-01-11 22:47:44 +08:00
parent d6842e537c
commit dd73a40556

View file

@ -178,7 +178,7 @@ endif
# Git version of ESP-IDF (of the form v1.0-285-g5c4f707)
IDF_VER := $(shell git describe)
IDF_VER := $(shell git -C $(IDF_PATH) describe)
# Set default LDFLAGS