apache / nuttx

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

cmake system fails to update config.h #12322

Open yf13 opened 2 months ago

yf13 commented 2 months ago

Description

When .config is tweaked, sometimes cmake system doesn't update the include/nuttx/config.h.

Reproducing

To reproduce, try following steps:

The repeat the following steps a few times:

We expect to see Re-running CMake... each time after .config is tweaked, however this isn't true if we repeat the above tweaking operations more times.

Currently I have to clean current folder and redo cmake command, and do kconfig-tweak before using ninja. This is tedious.

xiaoxiang781216 commented 2 months ago

@xuxin930 please take a look.