mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
Let kconfig exit with error on duplicated Kconfig file inclusion.
Repeated inclusion of Kbuild files are considered bad-practise with
regard to maintenance; and Kconfig language is rich enough that there
should be no need for that.
If repeated inclusion of Kconfig files is detected, error out with
messages like:
Kconfig.inc1:4: error: repeated inclusion of Kconfig.inc3
Kconfig.inc2:3: note: location of first inclusion of Kconfig.inc3
While commit
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| expected_stderr | ||
| Kconfig | ||
| Kconfig.inc1 | ||
| Kconfig.inc2 | ||
| Kconfig.inc3 | ||