mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
ldgen: Fix ENOENT errors on Windows with MSYS2 and GNU Make
This commit is contained in:
parent
61ee1bd31f
commit
4f4edcf676
@ -4,6 +4,12 @@
|
|||||||
COMPONENT_KCONFIGS := $(foreach component,$(COMPONENT_PATHS),$(wildcard $(component)/Kconfig))
|
COMPONENT_KCONFIGS := $(foreach component,$(COMPONENT_PATHS),$(wildcard $(component)/Kconfig))
|
||||||
COMPONENT_KCONFIGS_PROJBUILD := $(foreach component,$(COMPONENT_PATHS),$(wildcard $(component)/Kconfig.projbuild))
|
COMPONENT_KCONFIGS_PROJBUILD := $(foreach component,$(COMPONENT_PATHS),$(wildcard $(component)/Kconfig.projbuild))
|
||||||
|
|
||||||
|
ifdef MSYSTEM
|
||||||
|
# kconfiglib requires Windows-style paths for kconfig files
|
||||||
|
COMPONENT_KCONFIGS := $(shell cygpath -w $(COMPONENT_KCONFIGS))
|
||||||
|
COMPONENT_KCONFIGS_PROJBUILD := $(shell cygpath -w $(COMPONENT_KCONFIGS_PROJBUILD))
|
||||||
|
endif
|
||||||
|
|
||||||
#For doing make menuconfig etc
|
#For doing make menuconfig etc
|
||||||
KCONFIG_TOOL_DIR=$(IDF_PATH)/tools/kconfig
|
KCONFIG_TOOL_DIR=$(IDF_PATH)/tools/kconfig
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user