From 6a58e173b8d47832bbdf01f81140af37ead430d1 Mon Sep 17 00:00:00 2001 From: Edmund Huber Date: Sun, 19 Mar 2017 12:06:37 -0700 Subject: [PATCH] build: pass more arguments to git describe so that it always works even if detached branch, etc Merges #441 https://github.com/espressif/esp-idf/pull/441 --- make/project.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/make/project.mk b/make/project.mk index e1a23e96e..f5ae796f0 100644 --- a/make/project.mk +++ b/make/project.mk @@ -186,8 +186,7 @@ endif @echo $(ESPTOOLPY_WRITE_FLASH) $(ESPTOOL_ALL_FLASH_ARGS) -# Git version of ESP-IDF (of the form v1.0-285-g5c4f707) -IDF_VER := $(shell git -C $(IDF_PATH) describe) +IDF_VER := $(shell git -C $(IDF_PATH) describe --always --tags --dirty) # Set default LDFLAGS