[kernel] document inheritance/heirarchy of config generation

Dave Jones davej at fedoraproject.org
Fri Jan 13 20:43:06 UTC 2012


commit ac34e0aab16d4ec451547619aab6028f90d719c7
Author: Dave Jones <davej at redhat.com>
Date:   Fri Jan 13 15:42:52 2012 -0500

    document inheritance/heirarchy of config generation

 README.txt |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/README.txt b/README.txt
index 482f8ea..6195bb5 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


More information about the scm-commits mailing list