Makefile.*: Add CONFIG_ARCH_CHIP_* definitions to defconfig in savedefconfig target.

This commit is contained in:
Gregory Nutt 2017-07-09 17:08:51 -06:00
parent 81dcb98104
commit c6b61b0882
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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