build system: Be specific about esp-idf submodule update warnings

This commit is contained in:
Angus Gratton 2016-12-12 15:08:57 +11:00
parent bab1d49f1f
commit 9a378bca0e

View File

@ -368,7 +368,7 @@ $(IDF_PATH)/$(1)/.git:
# Parse 'git submodule status' output for out-of-date submodule. # Parse 'git submodule status' output for out-of-date submodule.
# Status output prefixes status line with '+' if the submodule commit doesn't match # Status output prefixes status line with '+' if the submodule commit doesn't match
ifneq ("$(shell cd ${IDF_PATH} && git submodule status $(1) | grep '^+')","") ifneq ("$(shell cd ${IDF_PATH} && git submodule status $(1) | grep '^+')","")
$$(info WARNING: git submodule $(1) may be out of date. Run 'git submodule update' to update.) $$(info WARNING: esp-idf git submodule $(1) may be out of date. Run 'git submodule update' in IDF_PATH dir to update.)
endif endif
endef endef