]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
kconfig: detect recursive inclusion earlier
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 22 Mar 2018 17:00:13 +0000 (02:00 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Sun, 25 Mar 2018 17:04:07 +0000 (02:04 +0900)
commit379a8eb8eb1a55344e1cf976fa589a12c68b60a7
tree4dd952c151fb0ce92689a8b94302fac9b3e4de8b
parent32a94b8b0c3e5ae575919850c5e49e936b704d45
kconfig: detect recursive inclusion earlier

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: Masahiro Yamada <yamada.masahiro@socionext.com>
scripts/kconfig/zconf.l