Skip to content
Commit 379a8eb8 authored by Masahiro Yamada's avatar Masahiro Yamada
Browse files

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: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
parent 32a94b8b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment