Reputation: 4576
I have the following Kconfig code:
choice
prompt "Choice ?"
config A_CHOSEN
bool "A"
config B_CHOSEN
bool "B"
endchoice
My problem, everytime i run make oldconfig it says:
*
* Restart config...
*
Choice ?
> 1. A (A_CHOSEN)
2. B (B_CHOSEN) (NEW)
choice[1-2]:
I checked the config file and it says
A_CHOSEN=y
# B_CHOSEN is not set
Any idea why the not selected option is always shown as new?
Upvotes: 1
Views: 2955
Reputation: 4576
The solution:
For unknown reason, the buildroot maintainers have decided to patch conf to only read in variables prefixed with BR2_
Upvotes: 1
Reputation: 554
When you run make oldconfig. It reads the existing .config file and ask the user for any new additions to the config file and mark it as new. This is very useful when you upgrade to a new kernel, as it lets you make a decision for each new configuration parameter.
Upvotes: 0