From c6b61b0882f6bdcc35cc98ea49df285de41f007c Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sun, 9 Jul 2017 17:08:51 -0600 Subject: [PATCH] Makefile.*: Add CONFIG_ARCH_CHIP_* definitions to defconfig in savedefconfig target. --- Makefile.unix | 1 + Makefile.win | 1 + 2 files changed, 2 insertions(+) diff --git a/Makefile.unix b/Makefile.unix index 4df0773eb9c..52fe9cdc5c8 100644 --- a/Makefile.unix +++ b/Makefile.unix @@ -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 diff --git a/Makefile.win b/Makefile.win index 06a0d9aa277..5a096b0dcce 100644 --- a/Makefile.win +++ b/Makefile.win @@ -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