[2.6 patch] move STANDALONE to drivers/base/Kconfig

From: Adrian Bunk (bunk_at_fs.tum.de)
Date: 07/17/04

  • Next message: Martin Schlemmer: "Re: 2.6.8-rc1-np1"
    Date:	Sat, 17 Jul 2004 22:46:13 +0200
    To: Andrew Morton <akpm@osdl.org>, Sam Ravnborg <sam@ravnborg.org>, linux-kernel@vger.kernel.org
    
    

    > > This option is in drivers/base/Kconfig, but the similar option
    > > STANDALONE [1] is in init/Kconfig.
    > >
    > > Shouldn't buoth be at the same place?
    > > What about moving STANDALONE ad let it depend on PREVENT_FIRMWARE_BUILD?
    >
    > STANDALONE avoids any drivers not using external firmware.
    > PREVENT_FIRMWARE_BUILD just prevents the supplied firmware to be build.
    > So no I do not see they should be dependent.
    >
    > But for sure they should be located in the same place.
    > This is drivers only information and not related to the actual
    > maturity of the code - so moving STANDALONE to drivers/base
    > makes sense to me.
    > Adrian - care to submit a patch?

    Sorry for the late answer, the patch is below.

    > Sam

    cu
    Adrian

    Move STANDALONE from init/Kconfig to drivers/base/Kconfig .
    This way, it's besides PREVENT_FIRMWARE_BUILD.

    Signed-off-by: Adrian Bunk <bunk@fs.tum.de>

    --- linux-2.6.8-rc1-mm1-full/init/Kconfig.old 2004-07-17 20:07:03.000000000 +0200
    +++ linux-2.6.8-rc1-mm1-full/init/Kconfig 2004-07-17 20:07:39.000000000 +0200
    @@ -41,15 +41,6 @@
     
               If unsure, say Y
     
    -config STANDALONE
    - bool "Select only drivers that don't need compile-time external firmware" if EXPERIMENTAL
    - default y
    - help
    - Select this option if you don't have magic firmware for drivers that
    - need it.
    -
    - If unsure, say Y.
    -
     config BROKEN
             bool
             depends on !CLEAN_COMPILE
    --- linux-2.6.8-rc1-mm1-full/drivers/base/Kconfig.old 2004-07-17 20:06:36.000000000 +0200
    +++ linux-2.6.8-rc1-mm1-full/drivers/base/Kconfig 2004-07-17 20:07:34.000000000 +0200
    @@ -1,5 +1,14 @@
     menu "Generic Driver Options"
     
    +config STANDALONE
    + bool "Select only drivers that don't need compile-time external firmware" if EXPERIMENTAL
    + default y
    + help
    + Select this option if you don't have magic firmware for drivers that
    + need it.
    +
    + If unsure, say Y.
    +
     config PREVENT_FIRMWARE_BUILD
             bool "Prevent firmware from being built"
             default y
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: Martin Schlemmer: "Re: 2.6.8-rc1-np1"

    Relevant Pages

    • Memory mapped IO vs Port IO
      ... There's a lot of drivers in the tree that allow you to access the device ... either via IO port space or IO mem space. ... config TULIP_MMIO ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Why is CONFIG_SCSI_QLA2X_X always enabled?
      ... | |> show up in the config menu when they aren't needed or wanted. ... | | net drivers, but I've always thought it caused more confusion than it ... | .config file always contains CONFIG_SCSI_QLA2XXX=y ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: [OOPS] Linux-2.6.0-test5-bk
      ... I noticed this in your .config included in your previous message. ... I think the conflict might be occuring between these two drivers. ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [-mm patch] USB_LIBUSUAL shouldnt be user-visible
      ... If both drivers are built and at least one of them is built statically ... +config USB_LIBUSUAL_BUILT ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • Re: Why is CONFIG_SCSI_QLA2X_X always enabled?
      ... |> show up in the config menu when they aren't needed or wanted. ... | So you want a "Do you want Qlogic drivers" question followed by the 6 ... .config file always contains CONFIG_SCSI_QLA2XXX=y ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)