On Wed, May 11, 2005 at 07:30:10AM -0700, William Lee Irwin III wrote:
>> You're telling me I have to futz with the i2c Kconfig just to cope with
>> it not existing?

On Thu, May 12, 2005 at 12:50:57AM +0200, Adrian Bunk wrote:
> What happens if a user selects one of the options that do themself 
> select one or more of the I2C* options?
> This might be solved differently (e.g. via some kind of 
> ARCH_SUPPORTS_I2C), but it should be solved.

I've got a patch to convert arch/sparc/Kconfig to sourcing drivers/Kconfig.
I've checked that defconfig comes out largely the same (the difference
seems to be order and comments) but haven't really checked thoroughly.

Maybe if others (e.g. sparc32 users) could look and complain if
something goes wrong that would help.

vs. 2.6.12-rc5-mm2


-- wli

Index: mm2-2.6.12-rc5/arch/sparc/Kconfig
===================================================================
--- mm2-2.6.12-rc5.orig/arch/sparc/Kconfig      2005-06-06 13:45:32.000000000 
-0700
+++ mm2-2.6.12-rc5/arch/sparc/Kconfig   2005-06-06 16:08:36.859702935 -0700
@@ -264,7 +264,11 @@
          want to run SunOS binaries on an Ultra you must also say Y to
          "Kernel support for 32-bit a.out binaries" above.
 
-source "drivers/parport/Kconfig"
+source "mm/Kconfig"
+
+endmenu
+
+source "drivers/Kconfig"
 
 config PRINTER
        tristate "Parallel printer support"
@@ -291,41 +295,10 @@
          If you have more than 8 printers, you need to increase the LP_NO
          macro in lp.c and the PARPORT_MAX macro in parport.h.
 
-source "mm/Kconfig"
-
-endmenu
-
-source "drivers/base/Kconfig"
-
-source "drivers/video/Kconfig"
-
-source "drivers/mtd/Kconfig"
-
-source "drivers/serial/Kconfig"
-
 if !SUN4
 source "drivers/sbus/char/Kconfig"
 endif
 
-source "drivers/block/Kconfig"
-
-# Don't frighten a common SBus user
-if PCI
-
-source "drivers/ide/Kconfig"
-
-endif
-
-source "drivers/isdn/Kconfig"
-
-source "drivers/scsi/Kconfig"
-
-source "drivers/fc4/Kconfig"
-
-source "drivers/md/Kconfig"
-
-source "net/Kconfig"
-
 # This one must be before the filesystem configs. -DaveM
 
 menu "Unix98 PTY support"
@@ -374,18 +347,8 @@
 
 endmenu
 
-source "drivers/input/Kconfig"
-
 source "fs/Kconfig"
 
-source "sound/Kconfig"
-
-source "drivers/usb/Kconfig"
-
-source "drivers/infiniband/Kconfig"
-
-source "drivers/char/watchdog/Kconfig"
-
 source "arch/sparc/Kconfig.debug"
 
 source "security/Kconfig"


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
kbuild-devel mailing list
kbuild-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to