-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] cmake savedefconfig failure after https://github.com/apache/nuttx/pull/13815 #14281
Comments
hi @simbit18 can you take a look at this issue? |
hi @xuxin930 sure !!! |
@xuxin930 Clarification
Why should savedefconfig replace the defconfig file in the boards/arm/qemu-armv7a/configs/nsh path? Perhaps you should have a target with a different name like replacedefconfig. It is also better to rename the current savedefconfig with refreshsilent |
Renamed savedefconfig -> refreshsilent name more consistent with the refresh stage for cmake on github. Added replacedefconfig to fix apache#14281
yes @simbit18 |
@xuxin930 I also created replacedefconfig simbit18@2061d3a |
I think rename is unnecessary, as it has different semantics from Kconfig. |
@xuxin930 OK then I rename current savedefconfig to refreshsilent |
This seems to solve the problem I reported. because after modifying the config through menuconfig on the Makefile base, |
OK I add PR. |
Renamed savedefconfig -> refreshsilent name more consistent with the refresh stage for cmake on github. Added new savedefconfig to fix apache#14281
Renamed savedefconfig -> refreshsilent name more consistent with the refresh stage for cmake on github. Added new savedefconfig to fix apache#14281
|
thanks @raiden00pl |
@raiden00pl See https://github.com/apache/nuttx/blob/master/tools/refresh.sh example nucleo-l152re/nsh ./tools/refresh.sh --silent nucleo-l152re/nsh
has been merge with this PR #13815 without generating this error on github |
Renamed savedefconfig -> refreshsilent name more consistent with the refresh stage for cmake on github. Added new savedefconfig to fix #14281
Description / Steps to reproduce the issue
Important
cmake savedefconfig failure after #13815
Steps to reproduce the problem
1. config with CMake
2. change any config with menuconfig
cmake --build build -t menuconfig # For example Disable CONFIG_EXAMPLES_HELLO
3. savedefconfig use cmake
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: #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
The text was updated successfully, but these errors were encountered: