• Masahiro Yamada's avatar
    kconfig: detect recursive inclusion earlier · 379a8eb8
    Masahiro Yamada authored
    Currently, the recursive inclusion is not detected when the offending
    file is about to be included; it is detected the offending file is
    about to include the *next* file.  This is because the detection loop
    does not involve the file being included.
    
    Do this check against the file that is about to be included so that
    the recursive inclusion is detected before unneeded parsing happens.
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    379a8eb8
zconf.l 6.68 KB