Lines Matching +full:- +full:- +full:non +full:- +full:interactive
12 # kconfiglib requires Windows-style paths for kconfig files
13 COMPONENT_KCONFIGS := $(shell cygpath -m $(COMPONENT_KCONFIGS))
14 COMPONENT_KCONFIGS_PROJBUILD := $(shell cygpath -m $(COMPONENT_KCONFIGS_PROJBUILD))
15 COMPONENT_SDKCONFIG_RENAMES := $(shell cygpath -m $(COMPONENT_SDKCONFIG_RENAMES))
16 COMPONENT_KCONFIGS_SOURCE_FILE := $(shell cygpath -m $(COMPONENT_KCONFIGS_SOURCE_FILE))
17 COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE := $(shell cygpath -m $(COMPONENT_KCONFIGS_PROJBUILD_SOURC…
30 # overrides (usually used for esp-idf examples)
33 # Workaround to run make parallel (-j). mconf-idf and conf-idf cannot be made simultaneously
34 $(KCONFIG_TOOL_DIR)/mconf-idf: $(KCONFIG_TOOL_DIR)/conf-idf
37 $(KCONFIG_TOOL_DIR)/mconf-idf $(KCONFIG_TOOL_DIR)/conf-idf: $(wildcard $(KCONFIG_TOOL_DIR)/*.c) $(w…
39 # mconf-idf is used only in MSYS
41 $(MAKE) -C $(KCONFIG_TOOL_DIR)
43 @echo "mconf-idf is not required on this platform"
49 # if special non-interactive item is not a named target (eg. 'defconfig', 'clean')
69 # -i is for ignore missing arguments in case SDKCONFIG_DEFAULTS_FILES is empty
70 SDKCONFIG_DEFAULTS_FILES := $(shell cygpath -i -m $(SDKCONFIG_DEFAULTS_FILES))
72 DEFAULTS_ARG := $(foreach f,$(SDKCONFIG_DEFAULTS_FILES),--defaults $(f))
75 mkdir -p $(BUILD_DIR_BASE)
77 --env "COMPONENT_KCONFIGS=$(strip $(COMPONENT_KCONFIGS))" \
78 --env "COMPONENT_KCONFIGS_PROJBUILD=$(strip $(COMPONENT_KCONFIGS_PROJBUILD))" \
79 --env "COMPONENT_KCONFIGS_SOURCE_FILE=$(COMPONENT_KCONFIGS_SOURCE_FILE)" \
80 --env "COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE=$(COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE)"
84 mkdir -p $(BUILD_DIR_BASE)/include/config
86 --kconfig $(IDF_PATH)/Kconfig \
87 --config $(SDKCONFIG) \
88 --sdkconfig-rename $(SDKCONFIG_RENAME) \
89 --env "COMPONENT_KCONFIGS=$(strip $(COMPONENT_KCONFIGS))" \
90 --env "COMPONENT_KCONFIGS_PROJBUILD=$(strip $(COMPONENT_KCONFIGS_PROJBUILD))" \
91 --env "COMPONENT_KCONFIGS_SOURCE_FILE=$(COMPONENT_KCONFIGS_SOURCE_FILE)" \
92 --env "COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE=$(COMPONENT_KCONFIGS_PROJBUILD_SOURCE_FILE)" \
93 --env "COMPONENT_SDKCONFIG_RENAMES=$(strip $(COMPONENT_SDKCONFIG_RENAMES))" \
94 --env "IDF_CMAKE=n" \
95 --env "IDF_ENV_FPGA=n" \
97 --output config ${SDKCONFIG} \
98 --output makefile $(SDKCONFIG_MAKEFILE) \
99 --output header $(BUILD_DIR_BASE)/include/sdkconfig.h \
106 MENUCONFIG_CMD := $(KCONFIG_TOOL_DIR)/mconf-idf
108 MENUCONFIG_CMD := $(PYTHON) -m menuconfig
119 mkdir -p $(BUILD_DIR_BASE)/include/config
132 # (make often wants to re-run them as the conf tool can regenerate the
134 # user wants - a single config pass is enough to produce all output
141 menuconfig: $(KCONFIG_TOOL_DIR)/mconf-idf | check_python_dependencies term_check prepare_kconfig_fi…
144 @echo "Can't run interactive configuration inside non-interactive build process."
147 @echo "See esp-idf documentation for more details."
150 $(call RunConfGen,--dont-write-deprecated)
175 .PHONY: config-clean defconfig menuconfig
176 config-clean:
179 MAKEFLAGS="" $(MAKE) -C $(KCONFIG_TOOL_DIR) clean
181 rm -rf $(BUILD_DIR_BASE)/include/config $(BUILD_DIR_BASE)/include/sdkconfig.h \