kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* how can default Kconfig values be defined elsewhere?
@ 2019-07-30 14:22 Robert P. J. Day
  2019-07-30 14:53 ` KingLotterry
  0 siblings, 1 reply; 3+ messages in thread
From: Robert P. J. Day @ 2019-07-30 14:22 UTC (permalink / raw)
  To: Kernel Newbies


  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
========================================================================

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 3+ messages in thread

* re: how can default Kconfig values be defined elsewhere?
  2019-07-30 14:22 how can default Kconfig values be defined elsewhere? Robert P. J. Day
@ 2019-07-30 14:53 ` KingLotterry
  2019-07-30 17:53   ` Robert P. J. Day
  0 siblings, 1 reply; 3+ messages in thread
From: KingLotterry @ 2019-07-30 14:53 UTC (permalink / raw)
  To: Robert P. J. Day, Kernel Newbies

[-- Attachment #1: Type: text/html, Size: 138 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 3+ messages in thread

* re: how can default Kconfig values be defined elsewhere?
  2019-07-30 14:53 ` KingLotterry
@ 2019-07-30 17:53   ` Robert P. J. Day
  0 siblings, 0 replies; 3+ messages in thread
From: Robert P. J. Day @ 2019-07-30 17:53 UTC (permalink / raw)
  To: KingLotterry; +Cc: Kernel Newbies

[-- Attachment #1: Type: text/plain, Size: 716 bytes --]

On Tue, 30 Jul 2019, KingLotterry@163.com wrote:

> maybe in environment or in 'make' command line I think. 

  quite possibly, but the impression i got from the Documentation file
was that this could be done elsewhere in a different Kconfig file, and
i have no idea how that would be done.

rday

-- 

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

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

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-07-30 17:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-30 14:22 how can default Kconfig values be defined elsewhere? Robert P. J. Day
2019-07-30 14:53 ` KingLotterry
2019-07-30 17:53   ` Robert P. J. Day

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).