document inheritance/heirarchy of config generation

This commit is contained in:
Dave Jones 2012-01-13 15:42:52 -05:00
parent f6c1dacd41
commit ac34e0aab1

View File

@ -34,13 +34,28 @@ Instead of having to maintain a config file for every arch variant we build on,
the kernel spec uses a nested system of configs. At the top level, is the kernel spec uses a nested system of configs. At the top level, is
config-generic. Add options here that should be present in every possible config-generic. Add options here that should be present in every possible
config on all architectures. config on all architectures.
Beneath this are per-arch overrides. For example config-x86-generic add Beneath this are per-arch overrides. For example config-x86-generic add
additional x86 specific options, and also _override_ any options that were additional x86 specific options, and also _override_ any options that were
set in config-generic. set in config-generic.
The heirarchy looks like this..
config-generic
|
config-x86-generic
| |
config-x86-32-generic config-x86-64-generic
An option set in a lower level will override the same option set in one
of the higher levels.
There exist two additional overrides, config-debug, and config-nodebug, There exist two additional overrides, config-debug, and config-nodebug,
which override -generic, and the per-arch overrides. It is documented which override -generic, and the per-arch overrides. It is documented
further below. further below.
debug options. debug options.
-------------- --------------
This is a little complicated, as the purpose & meaning of this changes This is a little complicated, as the purpose & meaning of this changes