apache / nuttx

Apache NuttX is a mature, real-time embedded operating system (RTOS)
https://nuttx.apache.org/
Apache License 2.0
2.77k stars 1.15k forks source link

[BUG] cmake savedefconfig failure after https://github.com/apache/nuttx/pull/13815 #14281

Open xuxin930 opened 2 days ago

xuxin930 commented 2 days ago

Description / Steps to reproduce the issue

[!IMPORTANT]
cmake savedefconfig failure after https://github.com/apache/nuttx/pull/13815

Steps to reproduce the problem

1. config with CMake

cmake -B build -DBOARD_CONFIG=qemu-armv7a:nsh

2. change any config with menuconfig

cmake --build build -t menuconfig
# For example  Disable CONFIG_EXAMPLES_HELLO

3. savedefconfig use cmake

cmake --build build -t savedefconfig

Issue: Neither the BINARY directory nor the defconfig in the config directory has been modified. Expect: Both are modified to the latest

This issue did not exist before this PR: https://github.com/apache/nuttx/pull/13815

On which OS does this issue occur?

[OS: Linux]

What is the version of your OS?

Ubuntu 20.04

NuttX Version

12.5.1

Issue Architecture

[Arch: all]

Issue Area

[Area: Build System], [Area: Kconfig]

Verification

xuxin930 commented 2 days ago

hi @simbit18 can you take a look at this issue?