Re: [RFC 1/4] CONFIG_STABLE: Define it

Stefan Richter
2007-05-31T08:54:47Z

> --- slub.orig/init/Kconfig 2007-05-30 16:35:05.000000000 -0700
> +++ slub/init/Kconfig 2007-05-30 16:35:45.000000000 -0700
> @@ -65,6 +65,13 @@ endmenu
>
> menu "General setup"
>
> +config STABLE
> + bool "Stable kernel"
> + help
> + If the kernel is configured to be a stable kernel then various
> + checks that are only of interest to kernel development will be
> + omitted.
> +
> config LOCALVERSION
> string "Local version - append to kernel release"
> help

a) Why in Kconfig, why not in Makefile?

b) Of course nobody wants STABLE=n. :-) How about:

config RELEASE
bool "Build for release"
help
If the kernel is declared as a release build here, then
various checks that are only of interest to kernel development
will be omitted.

c) A drawback of this general option is, it's hard to tell what will be
omitted in particular.
--
Stefan Richter
-=====-=-=== -=-= =====