• Alessandro Rubini's avatar
    Kconfig: fix warnings · affb4139
    Alessandro Rubini authored
    The new config tools are more picky. We got:
    
       Kconfig:22:warning: defaults for choice values not supported
    
    and
    
      warning: (WR_SWITCH) selects UART which has unmet direct dependencies
                 (DEVELOPER && EMBEDDED_NODE)
    
    The latter is fixed adding WR_SWITCH in the dependencies. The former
    is worked-around by using "IS_XINT" and friends in "choice", and
    then "XINT" replicates the "IS_" choice.  I dislike it, because it's
    repetition, but we really need CONFIG_PRINTF_XINT and friends in
    pp_printf/
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    affb4139
Kconfig 12 KB