kconfig-language.rst (f73a058be5d70dd81a43f16b2bbff4b1576a7af8) | kconfig-language.rst (bf83266a1eef8251e2f126dba635039de069104a) |
---|---|
1================ 2Kconfig Language 3================ 4 5Introduction 6------------ 7 8The configuration database is a collection of configuration options --- 170 unchanged lines hidden (view full) --- 179 y m m M/n 180 y n * N 181 === === ============= ============== 182 183 This is useful e.g. with multiple drivers that want to indicate their 184 ability to hook into a secondary subsystem while allowing the user to 185 configure that subsystem out without also having to unset these drivers. 186 | 1================ 2Kconfig Language 3================ 4 5Introduction 6------------ 7 8The configuration database is a collection of configuration options --- 170 unchanged lines hidden (view full) --- 179 y m m M/n 180 y n * N 181 === === ============= ============== 182 183 This is useful e.g. with multiple drivers that want to indicate their 184 ability to hook into a secondary subsystem while allowing the user to 185 configure that subsystem out without also having to unset these drivers. 186 |
187 Note: If the combination of FOO=y and BAR=m causes a link error, | 187 Note: If the combination of FOO=y and BAZ=m causes a link error, |
188 you can guard the function call with IS_REACHABLE():: 189 190 foo_init() 191 { 192 if (IS_REACHABLE(CONFIG_BAZ)) 193 baz_register(&foo); 194 ... 195 } --- 570 unchanged lines hidden --- | 188 you can guard the function call with IS_REACHABLE():: 189 190 foo_init() 191 { 192 if (IS_REACHABLE(CONFIG_BAZ)) 193 baz_register(&foo); 194 ... 195 } --- 570 unchanged lines hidden --- |