Lines Matching refs:choice
373 There are two ways to configure a Kconfig ``choice``:
375 1. By setting one of the choice symbols to ``y`` in a configuration file.
377 Setting one choice symbol to ``y`` automatically gives all other choice
380 If multiple choice symbols are set to ``y``, only the last one set to ``y``
381 will be honored (the rest will get the value ``n``). This allows a choice
385 2. By changing the ``default`` of the choice in :file:`Kconfig.defconfig`.
387 As with symbols, changing the default for a choice is done by defining the
388 choice in multiple locations. For this to work, the choice must have a name.
390 As an example, assume that a choice has the following base definition (here,
391 the name of the choice is ``FOO``):
395 choice FOO
396 bool "Foo choice"
412 choice FOO
417 the choice might not be satisfied. In that case, you're setting the default
418 selection whenever the user makes the choice visible.