how can default Kconfig values be defined elsewhere?

Robert P. J. Day rpjday at crashcourse.ca
Tue Jul 30 10:22:02 EDT 2019


  another kbuild-related question -- from kconfig-language.rst:

  - default value: "default" <expr> ["if" <expr>]

  A config option can have any number of default values. If multiple
  default values are visible, only the first defined one is active.
  Default values are not limited to the menu entry where they are
  defined. This means the default can be defined somewhere else or be
  overridden by an earlier definition.

wait ... default values can be defined elsewhere from the menu entry
for which that default is to be set? i was unaware of this; can
someone provide an example? or am i misreading this?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                         http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================



More information about the Kernelnewbies mailing list