• Arnaud Lacombe's avatar
    kconfig: simplify select-with-unmet-direct-dependency warning · 1137c56b
    Arnaud Lacombe authored
    This is an attempt to simplify the expressing printed by kconfig when a
    symbol is selected but still has direct unmet dependency.
    
    First, the symbol reverse dependency is split in sub-expression. Then,
    each sub-expression is checked to ensure that it does not contains the
    unmet dependency. This removes the false-positive symbols and fixed symbol
    which already have the correct dependency. Finally, only the symbol
    responsible of the "select" is printed, instead of its full dependency tree.
    
    CC: Catalin Marinas <catalin.marinas@arm.com>
    Signed-off-by: default avatarArnaud Lacombe <lacombar@gmail.com>
    Signed-off-by: default avatarMichal Marek <mmarek@suse.cz>
    1137c56b
symbol.c 26.5 KB