From: Masahiro Yamada Date: Thu, 22 Mar 2018 17:00:13 +0000 (+0900) Subject: kconfig: detect recursive inclusion earlier X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;ds=sidebyside;h=04b4b91c1092eb054b8e0ddef72052170ef3e4ae;hp=04b4b91c1092eb054b8e0ddef72052170ef3e4ae;p=carl9170fw.git 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 Signed-off-by: Christian Lamparter ---