summaryrefslogtreecommitdiffstats
path: root/README.txt
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2012-01-13 15:42:52 -0500
committerDave Jones <davej@redhat.com>2012-01-13 15:42:52 -0500
commitac34e0aab16d4ec451547619aab6028f90d719c7 (patch)
tree5fdef1eca80f19303d29f27e399081a10a3140c9 /README.txt
parentf6c1dacd41926df0b2d688a01c5f8c8244cd85ab (diff)
downloadkernel-ac34e0aab16d4ec451547619aab6028f90d719c7.tar.gz
kernel-ac34e0aab16d4ec451547619aab6028f90d719c7.tar.xz
kernel-ac34e0aab16d4ec451547619aab6028f90d719c7.zip
document inheritance/heirarchy of config generation
Diffstat (limited to 'README.txt')
-rw-r--r--README.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/README.txt b/README.txt
index 482f8ea5b..6195bb56d 100644
--- a/README.txt
+++ b/README.txt
@@ -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
config-generic. Add options here that should be present in every possible
config on all architectures.
+
Beneath this are per-arch overrides. For example config-x86-generic add
additional x86 specific options, and also _override_ any options that were
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,
which override -generic, and the per-arch overrides. It is documented
further below.
+
debug options.
--------------
This is a little complicated, as the purpose & meaning of this changes