]> granicus.if.org Git - esp-idf/commitdiff
project_config_mk: fix if condition
authorV.Dudnik <dudnik.v@udtech.co>
Sun, 5 May 2019 16:12:33 +0000 (19:12 +0300)
committerRenz Christian Bagaporo <renz@espressif.com>
Wed, 10 Jul 2019 04:04:20 +0000 (12:04 +0800)
make/project_config.mk

index 79a6efd01a6eb330d128889c9d801158e70ce22f..0046c44fbfd372f857e48fff698f20ac21f15c05 100644 (file)
@@ -4,7 +4,7 @@
 COMPONENT_KCONFIGS := $(foreach component,$(COMPONENT_PATHS),$(wildcard $(component)/Kconfig))
 COMPONENT_KCONFIGS_PROJBUILD := $(foreach component,$(COMPONENT_PATHS),$(wildcard $(component)/Kconfig.projbuild))
 
-ifdef MSYSTEM
+ifeq ($(OS),Windows_NT)
 # kconfiglib requires Windows-style paths for kconfig files
 COMPONENT_KCONFIGS := $(shell cygpath -w $(COMPONENT_KCONFIGS))
 COMPONENT_KCONFIGS_PROJBUILD := $(shell cygpath -w $(COMPONENT_KCONFIGS_PROJBUILD))