1 # Select broken dependency issue 2 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3 # 4 # Test with: 5 # 6 # make KBUILD_KCONFIG=Documentation/kbuild/Kco 7 # 8 # kconfig will not complain and enable this la 9 # currently a feature of kconfig, given select 10 # Kconfig currently does not check the list of 11 # "select" list, this is done on purpose to he 12 # symbols. Because of this use of select shoul 13 # example of this issue is below. 14 # 15 # The option B and C are clearly contradicting 16 # However, when A is set, C can be set as well 17 # visit the dependencies of the select target 18 # Kconfig does not visit the dependencies, it 19 # (!A). 20 21 mainmenu "Simple example to demo kconfig selec 22 23 config A 24 bool "CONFIG A" 25 26 config B 27 bool "CONFIG B" 28 depends on !A 29 30 config C 31 bool "CONFIG C" 32 depends on A 33 select B
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.