diff --git a/Makefile.unix b/Makefile.unix index ca89cf878eb..6a7c22997c7 100644 --- a/Makefile.unix +++ b/Makefile.unix @@ -1,7 +1,7 @@ ############################################################################ # Makefile.unix # -# Copyright (C) 2007-2012, 2014-2015 Gregory Nutt. All rights reserved. +# Copyright (C) 2007-2012, 2014-2015, 2018 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -182,7 +182,7 @@ NUTTXNAME = nuttx BIN = $(NUTTXNAME)$(EXEEXT) all: $(BIN) -.PHONY: dirlinks context clean_context check_context export subdir_clean clean subdir_distclean distclean apps_clean apps_distclean +.PHONY: dirlinks context clean_context check_context config oldconfig menuconfig nconfig qconfig gconfig export subdir_clean clean subdir_distclean distclean apps_clean apps_distclean # Target used to copy include/nuttx/lib/math.h. If CONFIG_ARCH_MATH_H is # defined, then there is an architecture specific math.h header file @@ -505,6 +505,11 @@ do_menuconfig: dirlinks apps_preconfig menuconfig: do_menuconfig clean_context +do_nconfig: dirlinks apps_preconfig + $(Q) APPSDIR=${CONFIG_APPS_DIR} kconfig-nconf Kconfig + +nconfig: do_nconfig clean_context + do_qconfig: dirlinks apps_preconfig $(Q) APPSDIR=${CONFIG_APPS_DIR} kconfig-qconf Kconfig diff --git a/Makefile.win b/Makefile.win index aa3682fc1f6..2ad3c451b94 100644 --- a/Makefile.win +++ b/Makefile.win @@ -1,7 +1,7 @@ ############################################################################ # Makefile.win # -# Copyright (C) 2012, 2015 Gregory Nutt. All rights reserved. +# Copyright (C) 2012, 2015, 2018 Gregory Nutt. All rights reserved. # Author: Gregory Nutt # # Redistribution and use in source and binary forms, with or without @@ -175,7 +175,7 @@ NUTTXNAME = nuttx BIN = $(NUTTXNAME)$(EXEEXT) all: $(BIN) -.PHONY: dirlinks context clean_context check_context configenv config oldconfig menuconfig export subdir_clean clean subdir_distclean distclean apps_clean apps_distclean +.PHONY: dirlinks context clean_context check_context configenv config oldconfig menuconfig nconfig 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 @@ -501,6 +501,11 @@ do_menuconfig: dirlinks configenv apps_preconfig menuconfig: do_menuconfig clean_context +do_nconfig: dirlinks apps_preconfig + $(Q) set APPSDIR=$(patsubst "%",%,${CONFIG_APPS_DIR})& kconfig-nconf Kconfig + +nconfig: do_nconfig clean_context + do_savedefconfig: dirlinks apps_preconfig savedefconfig: do_savedefconfig