paulgazz / kmax

A collection of analysis tools for Kconfig and Kbuild constraints.
42 stars 21 forks source link

Use Kconfig's default value for non-Boolean configuration options #213

Closed paulgazz closed 2 years ago

paulgazz commented 2 years ago

As also mentioned #186, klocalizer will use a fixed default value for nonbools according to type, e.g., 0 for int. #186 helps prevent build issues when this default is invalid by using settings from the input configuration. But if klocalizer enables a nonbool option during repair, #186 won't help. In these cases, use a default value defined in Kconfig to set the option's value.