Makefile.*: Add CONFIG_ARCH_CHIP_* definitions to defconfig in savedefconfig target.
This commit is contained in:
parent
81dcb98104
commit
c6b61b0882
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user