summaryrefslogtreecommitdiff
path: root/nuttx/Makefile.win
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/Makefile.win')
-rw-r--r--nuttx/Makefile.win17
1 files changed, 10 insertions, 7 deletions
diff --git a/nuttx/Makefile.win b/nuttx/Makefile.win
index 34da12ad0..fcf971d32 100644
--- a/nuttx/Makefile.win
+++ b/nuttx/Makefile.win
@@ -252,7 +252,7 @@ LINKLIBS = $(patsubst lib\\%,%,$(NUTTXLIBS))
BIN = nuttx$(EXEEXT)
all: $(BIN)
-.PHONY: context clean_context check_context export subdir_clean clean subdir_distclean distclean apps_clean apps_distclean
+.PHONY: context clean_context check_context configenv config oldconfig menuconfig export subdir_clean clean subdir_distclean distclean apps_clean apps_distclean
# Target used to copy include\nuttx\math.h. If CONFIG_ARCH_MATH_H is
# defined, then there is an architecture specific math.h header file
@@ -647,14 +647,17 @@ pass2dep: context tools\mkdeps$(HOSTEXEEXT)
# location: http://ymorin.is-a-geek.org/projects/kconfig-frontends. See
# misc\tools\README.txt for additional information.
-config:
- $(Q) APPSDIR=${CONFIG_APPS_DIR} conf Kconfig
+configenv:
+ $(Q) set APPSDIR=${CONFIG_APPS_DIR}
-oldconfig:
- $(Q) APPSDIR=${CONFIG_APPS_DIR} conf --oldconfig Kconfig
+config: configenv
+ $(Q) conf Kconfig
-menuconfig:
- $(Q) APPSDIR=${CONFIG_APPS_DIR} mconf Kconfig
+oldconfig: configenv
+ $(Q) conf --oldconfig Kconfig
+
+menuconfig: configenv
+ $(Q) mconf Kconfig
# export
#