This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 4c52f2dbeb425509c2b80a804523455c0da2ff60 Author: Serg Podtynnyi <s...@podtynnyi.com> AuthorDate: Wed Apr 30 16:22:05 2025 +0700 tools: Update Unix.mk and savedefconfig.cmake for CONFIG_ARCH_BOARD_COMMON Preserve CONFIG_ARCH_BOARD_COMMON in savedconfig Signed-off-by: Serg Podtynnyi <s...@podtynnyi.com> --- cmake/savedefconfig.cmake | 1 + tools/Unix.mk | 1 + 2 files changed, 2 insertions(+) diff --git a/cmake/savedefconfig.cmake b/cmake/savedefconfig.cmake index cbfadf6917..c6f06e3ff4 100644 --- a/cmake/savedefconfig.cmake +++ b/cmake/savedefconfig.cmake @@ -35,6 +35,7 @@ foreach(NameAndValue ${ConfigContents}) OR "${NameAndValue}" MATCHES "^CONFIG_ARCH_CHIP_" OR "${NameAndValue}" MATCHES "CONFIG_ARCH_CHIP=" OR "${NameAndValue}" MATCHES "CONFIG_ARCH_BOARD=" + OR "${NameAndValue}" MATCHES "CONFIG_ARCH_BOARD_COMMON=" OR "${NameAndValue}" MATCHES "^CONFIG_ARCH_CUSTOM" OR "${NameAndValue}" MATCHES "^CONFIG_ARCH_BOARD_CUSTOM") decode_semicolon(Value) diff --git a/tools/Unix.mk b/tools/Unix.mk index c497678063..a9e0a490cb 100644 --- a/tools/Unix.mk +++ b/tools/Unix.mk @@ -753,6 +753,7 @@ savedefconfig: apps_preconfig $(Q) grep "^CONFIG_ARCH_CHIP_" .config >> defconfig.tmp; true $(Q) grep "CONFIG_ARCH_CHIP=" .config >> defconfig.tmp; true $(Q) grep "CONFIG_ARCH_BOARD=" .config >> defconfig.tmp; true + $(Q) grep "CONFIG_ARCH_BOARD_COMMON=" .config >> defconfig.tmp; true $(Q) grep "^CONFIG_ARCH_CUSTOM" .config >> defconfig.tmp; true $(Q) grep "^CONFIG_ARCH_BOARD_CUSTOM" .config >> defconfig.tmp; true $(Q) export LC_ALL=C; cat defconfig.tmp | sort | uniq > sortedconfig.tmp