mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 17:48:54 +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) APPSDIR=${CONFIG_APPS_DIR} kconfig-conf --savedefconfig defconfig Kconfig
|
||||||
$(Q) sed -i -e "/CONFIG_APPS_DIR=/d" defconfig
|
$(Q) sed -i -e "/CONFIG_APPS_DIR=/d" defconfig
|
||||||
$(Q) grep "CONFIG_ARCH=" .config >> defconfig
|
$(Q) grep "CONFIG_ARCH=" .config >> defconfig
|
||||||
|
$(Q) grep "^CONFIG_ARCH_CHIP_" .config >> defconfig
|
||||||
$(Q) grep "CONFIG_ARCH_BOARD=" .config >> defconfig
|
$(Q) grep "CONFIG_ARCH_BOARD=" .config >> defconfig
|
||||||
|
|
||||||
# export
|
# export
|
||||||
|
|||||||
@@ -507,6 +507,7 @@ savedefconfig: do_savedefconfig
|
|||||||
$(Q) set APPSDIR=$(patsubst "%",%,${CONFIG_APPS_DIR})& kconfig-conf --savedefconfig defconfig Kconfig
|
$(Q) set APPSDIR=$(patsubst "%",%,${CONFIG_APPS_DIR})& kconfig-conf --savedefconfig defconfig Kconfig
|
||||||
$(Q) sed -i -e "/CONFIG_APPS_DIR=/d" defconfig
|
$(Q) sed -i -e "/CONFIG_APPS_DIR=/d" defconfig
|
||||||
$(Q) grep "CONFIG_ARCH=" .config >> defconfig
|
$(Q) grep "CONFIG_ARCH=" .config >> defconfig
|
||||||
|
$(Q) grep "^CONFIG_ARCH_CHIP_" .config >> defconfig
|
||||||
$(Q) grep "CONFIG_ARCH_BOARD=" .config >> defconfig
|
$(Q) grep "CONFIG_ARCH_BOARD=" .config >> defconfig
|
||||||
|
|
||||||
# export
|
# export
|
||||||
|
|||||||
Reference in New Issue
Block a user