build: Fix for old version of git (< 1.8.5)

This commit is contained in:
Anton Maklakov 2017-04-11 18:04:18 +08:00 committed by Anton Maklakov
parent 375b28650b
commit 06798a2b35

View file

@ -186,7 +186,7 @@ endif
@echo $(ESPTOOLPY_WRITE_FLASH) $(ESPTOOL_ALL_FLASH_ARGS)
IDF_VER := $(shell git -C $(IDF_PATH) describe --always --tags --dirty)
IDF_VER := $(shell cd ${IDF_PATH} && git describe --always --tags --dirty)
# Set default LDFLAGS