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

From: Adrian Bunk
Date: Sat Jul 17 2004 - 15:47:55 EST


> > 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@xxxxxxxxx>

--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/