Kernel Newbies archive on lore.kernel.org
 help / color / 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 --]

<div dir="auto">maybe in environment or in &#39;make&#39; command line I think. <div><br /></div><div>regards</div><div>laokz</div></div>

[-- 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, back to index

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

Kernel Newbies archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org kernelnewbies@archiver.kernel.org
	public-inbox-index kernelnewbies

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/ public-inbox