Merge branch 'bugfix/build_fix_for_old_git' into 'master'

Build fix for old version of git

It works good for git version less than 1.8.5 (e.g. on CentOS 7)

See merge request !651
This commit is contained in:
Ivan Grokhotkov
2017-04-12 10:39:47 +08:00

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