mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 23:03:27 +08:00
Makefile.unix: Add savedefconfig target.
This commit is contained in:
committed by
Gregory Nutt
parent
2d3e651cbb
commit
c78f5f3cd6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user