diff --git a/Makefile.unix b/Makefile.unix index cca3c1cd6c..4df0773eb9 100644 --- a/Makefile.unix +++ b/Makefile.unix @@ -515,6 +515,14 @@ do_gconfig: dirlinks apps_preconfig gconfig: do_gconfig clean_context +do_savedefconfig: dirlinks apps_preconfig + +savedefconfig: do_savedefconfig + $(Q) APPSDIR=${CONFIG_APPS_DIR} kconfig-conf --savedefconfig defconfig Kconfig + $(Q) sed -i -e "/CONFIG_APPS_DIR=/d" defconfig + $(Q) grep "CONFIG_ARCH=" .config >> defconfig + $(Q) grep "CONFIG_ARCH_BOARD=" .config >> defconfig + # export # # The export target will package the NuttX libraries and header files into