mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
Makefile.*: Add CONFIG_ARCH_CHIP_* definitions to defconfig in savedefconfig target.
This commit is contained in:
@@ -521,6 +521,7 @@ 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_CHIP_" .config >> defconfig
|
||||
$(Q) grep "CONFIG_ARCH_BOARD=" .config >> defconfig
|
||||
|
||||
# export
|
||||
|
||||
@@ -507,6 +507,7 @@ savedefconfig: do_savedefconfig
|
||||
$(Q) set APPSDIR=$(patsubst "%",%,${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_CHIP_" .config >> defconfig
|
||||
$(Q) grep "CONFIG_ARCH_BOARD=" .config >> defconfig
|
||||
|
||||
# export
|
||||
|
||||
Reference in New Issue
Block a user