Lines Matching full:idf_path
9 # This makefile requires the environment variable IDF_PATH to be set to the top-level esp-idf direc…
78 # make IDF_PATH a "real" absolute path
84 SANITISED_IDF_PATH:=$(realpath $(IDF_PATH))
86 SANITISED_IDF_PATH:=$(realpath $(wildcard $(IDF_PATH)))
89 export IDF_PATH := $(SANITISED_IDF_PATH)
91 ifndef IDF_PATH
92 $(error IDF_PATH variable is not set to a valid directory.)
104 ifneq ("$(IDF_PATH)","$(SANITISED_IDF_PATH)")
105 # implies IDF_PATH was overriden on make command line.
109 # make IDF_PATH=~/blah not make IDF_PATH="~/blah"
110 $(error If IDF_PATH is overriden on command line, it must be an absolute path with no embedded shel…
113 ifneq ("$(IDF_PATH)","$(subst :,,$(IDF_PATH))")
114 $(error IDF_PATH cannot contain colons. If overriding IDF_PATH on Windows, use MSYS Unix-style /c/d…
129 …OMMON_MAKEFILES := $(abspath $(IDF_PATH)/make/project.mk $(IDF_PATH)/make/common.mk $(IDF_PATH)/ma…
151 COMPONENT_DIRS := $(PROJECT_PATH)/components $(EXTRA_COMPONENT_DIRS) $(IDF_PATH)/components $(PROJE…
246 include $(IDF_PATH)/make/common.mk
252 $(PYTHON) $(IDF_PATH)/tools/check_python_dependencies.py
259 include $(IDF_PATH)/make/project_config.mk
347 ifeq ("$(wildcard ${IDF_PATH}/version.txt)","")
348 IDF_VER_T := $(shell cd ${IDF_PATH} && git describe --always --dirty --match v*.*)
350 IDF_VER_T := $(shell cat ${IDF_PATH}/version.txt)
550 include $(IDF_PATH)/make/ldgen.mk
609 +$(MAKE) -C $(BUILD_DIR_BASE)/$(2) -f $(IDF_PATH)/make/component_wrapper.mk COMPONENT_MAKEFILE=$(1)…
657 $(PYTHON) $(IDF_PATH)/tools/idf_size.py $(APP_MAP)
660 $(PYTHON) $(IDF_PATH)/tools/idf_size.py --files $(APP_MAP)
663 $(PYTHON) $(IDF_PATH)/tools/idf_size.py --archives $(APP_MAP)
669 $(PYTHON) $(IDF_PATH)/tools/idf_size.py --archive_details lib$(COMPONENT).a $(APP_MAP)
681 # This only works for components inside IDF_PATH
693 ifneq ("$(wildcard ${IDF_PATH}/.gitmodules)","")
696 GIT_STATUS := $(shell cd ${IDF_PATH} && git status --porcelain --ignore-submodules=dirty)
699 # $(1) - submodule directory, relative to IDF_PATH
701 check-submodules: $(IDF_PATH)/$(1)/.git
702 $(IDF_PATH)/$(1)/.git:
704 [ -e ${IDF_PATH}/.git ] || { echo "ERROR: esp-idf must be cloned from git to work."; exit 1; }
707 cd ${IDF_PATH} && git submodule update --init $(1)
711 …p-idf git submodule $(1) may be out of date. Run 'git submodule update' in IDF_PATH dir to update.)
715 # filter/subst in expression ensures all submodule paths begin with $(IDF_PATH), and then strips th…
717 $(foreach submodule,$(subst $(IDF_PATH)/,,$(filter $(IDF_PATH)/%,$(COMPONENT_SUBMODULES))),$(eval $…
753 include $(IDF_PATH)/tools/toolchain_versions.mk