All of lore.kernel.org
 help / color / mirror / Atom feed
* [KJ] arch-dependent Kconfig file options?
@ 2007-02-08 17:08 Robert P. J. Day
  2007-02-08 17:52 ` Randy Dunlap
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Robert P. J. Day @ 2007-02-08 17:08 UTC (permalink / raw)
  To: kernel-janitors


  is there a way to make the visibility of Kconfig file options
dependent on the underlying architecture?  as a specific example,
there are two archs (alpha and frv) that support debugging semaphores.
but that's not a general Kconfig-selectable setting -- those two
arches independently define those options:

  $ grep -r SEMAPHORE . | grep DEBUG

which seems wasteful.  why not just have that option in one place?
(lib/Kconfig.debug would be the obvious place, of course.)

  however, since that option applies only to a couple of arches, it
should be displayed only for those arches. is there a way to do this?

rday

p.s.  yes, i realize that it's not that big a deal here since it
involves only two architectures.  but it's the more general case i'm
curious about, when *other* architectures decide they want semaphore
debugging as well.

-- 
====================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry
Waterloo, Ontario, CANADA

http://fsdev.net/wiki/index.php?title=Main_Page
====================================
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
https://lists.osdl.org/mailman/listinfo/kernel-janitors

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

end of thread, other threads:[~2007-02-08 18:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-08 17:08 [KJ] arch-dependent Kconfig file options? Robert P. J. Day
2007-02-08 17:52 ` Randy Dunlap
2007-02-08 18:09 ` Matthew Wilcox
2007-02-08 18:34 ` Robert P. J. Day

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.