mirror of https://github.com/torvalds/linux.git
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
|
||
|---|---|---|
| .. | ||
| auto_submenu | ||
| choice | ||
| choice_randomize | ||
| choice_randomize2 | ||
| conditional_dep | ||
| err_recursive_dep | ||
| err_recursive_inc | ||
| err_repeated_inc | ||
| err_transitional | ||
| new_choice_with_dep | ||
| no_write_if_dep_unmet | ||
| preprocess | ||
| transitional | ||
| conftest.py | ||
| pytest.ini | ||