linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.4.22-pre10] Cleanup DRM menu and give it a submenu
@ 2003-08-01 10:40 Marc-Christian Petersen
  2003-08-02 21:46 ` Ken Moffat
  0 siblings, 1 reply; 4+ messages in thread
From: Marc-Christian Petersen @ 2003-08-01 10:40 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: lkml

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

Hi Marcelo,

I've been getting complaints about the menu structure from the linux kernel 
config subsystem for a _long time_. Now let's clean up the DRM menu and give 
it a submenu. We are getting close that the menu will look more cleaner :)

More cleanups for different menu's are following.

Please apply for 2.4.22-pre10. Thank you :)

ciao, Marc

[-- Attachment #2: 2.4-DRM-extramenu.patch --]
[-- Type: text/x-diff, Size: 1428 bytes --]

--- a/drivers/char/Config.in	2002-12-18 13:52:04.000000000 +0100
+++ b/drivers/char/Config.in	2002-12-18 13:52:23.000000000 +0100
@@ -317,18 +317,7 @@ if [ "$CONFIG_AGP" != "n" ]; then
    fi
 fi
 
-bool 'Direct Rendering Manager (XFree86 DRI support)' CONFIG_DRM
-if [ "$CONFIG_DRM" = "y" ]; then
-   bool '  Build drivers for old (XFree 4.0) DRM' CONFIG_DRM_OLD
-   if [ "$CONFIG_DRM_OLD" = "y" ]; then
-      comment 'DRM 4.0 drivers'
-      source drivers/char/drm-4.0/Config.in
-   else
-      comment 'DRM 4.1 drivers'
-      define_bool CONFIG_DRM_NEW y
-      source drivers/char/drm/Config.in
-   fi
-fi
+source drivers/char/DRM-Config.in
 
 if [ "$CONFIG_HOTPLUG" = "y" -a "$CONFIG_PCMCIA" != "n" ]; then
    source drivers/char/pcmcia/Config.in
--- a/drivers/char/DRM-Config.in	2002-12-13 01:55:47.000000000 +0100
+++ b/drivers/char/DRM-Config.in	2002-12-18 13:50:54.000000000 +0100
@@ -0,0 +1,16 @@
+mainmenu_option next_comment
+comment 'Direct Rendering Manager (XFree86 DRI support)'
+bool 'Direct Rendering Manager (XFree86 DRI support)' CONFIG_DRM
+if [ "$CONFIG_DRM" = "y" ]; then
+   bool '  Build drivers for old (XFree 4.0) DRM' CONFIG_DRM_OLD
+   if [ "$CONFIG_DRM_OLD" = "y" ]; then
+      comment 'DRM 4.0 drivers'
+      source drivers/char/drm-4.0/Config.in
+   else
+      comment 'DRM 4.1 drivers'   
+      define_bool CONFIG_DRM_NEW y
+      source drivers/char/drm/Config.in
+   fi
+fi
+endmenu
+

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

end of thread, other threads:[~2003-08-03 11:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-08-01 10:40 [PATCH 2.4.22-pre10] Cleanup DRM menu and give it a submenu Marc-Christian Petersen
2003-08-02 21:46 ` Ken Moffat
2003-08-02 22:35   ` Marc-Christian Petersen
2003-08-03 11:38     ` Ken Moffat

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).