kconfig: allow multiple inclusion of the same file
authorYann E. MORIN <yann.morin.1998@anciens.enib.fr>
Thu, 24 Feb 2011 18:36:42 +0000 (19:36 +0100)
committerMichal Marek <mmarek@suse.cz>
Fri, 15 Apr 2011 13:12:48 +0000 (15:12 +0200)
commitf094f8a1b2737a4f3ca46742ff9aaf460d39285e
tree91f1b35efd025cc0a31f78230c8f81ab5a21c78f
parent466de9183570fe9fd21ef167951488fc9d513fcb
kconfig: allow multiple inclusion of the same file

Allow 'source'ing the same file from multiple places (eg. from
different files, and/or under different conditions).

To avoid circular inclusion, scan the source-ancestry of the
current file, and abort if already sourced in this branch.

Regenerate the pre-parsed lex.zconf.c_shipped file.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/lex.zconf.c_shipped
scripts/kconfig/zconf.l