summaryrefslogtreecommitdiff
path: root/nuttx/Makefile.win
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-22 16:47:02 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2012-12-22 16:47:02 +0000
commit2c7698b2b107fb42b1ea0a1a9730008116876498 (patch)
treebbfa447bb635d4d002798adb55fad8ba5a0b49d2 /nuttx/Makefile.win
parent27b4fb8744efc33b53458063838f0b53e75f8021 (diff)
downloadpx4-nuttx-2c7698b2b107fb42b1ea0a1a9730008116876498.tar.gz
px4-nuttx-2c7698b2b107fb42b1ea0a1a9730008116876498.tar.bz2
px4-nuttx-2c7698b2b107fb42b1ea0a1a9730008116876498.zip
Add tools/kconfig.bat
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5450 42af7a65-404d-4744-a932-0658087f49c3
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
#