summaryrefslogtreecommitdiffstats
path: root/Documentation/kbuild/kbuild.txt
diff options
context:
space:
mode:
authorMichal Marek2009-12-07 16:38:33 +0100
committerMichal Marek2009-12-12 13:08:16 +0100
commitbc081dd6e9f622c73334dc465359168543ccaabf (patch)
treec015f5eba8e1bc79b2eb3861b8e95f15ee6d047d /Documentation/kbuild/kbuild.txt
parentgenksyms: properly consider EXPORT_UNUSED_SYMBOL{,_GPL}() (diff)
downloadkernel-qcow2-linux-bc081dd6e9f622c73334dc465359168543ccaabf.tar.gz
kernel-qcow2-linux-bc081dd6e9f622c73334dc465359168543ccaabf.tar.xz
kernel-qcow2-linux-bc081dd6e9f622c73334dc465359168543ccaabf.zip
kbuild: generate modules.builtin
To make it easier for module-init-tools and scripts like mkinitrd to distinguish builtin and missing modules, install a modules.builtin file listing all builtin modules. This is done by generating an additional config file (tristate.conf) with tristate options set to uppercase 'Y' or 'M'. If we source that config file, the builtin modules appear in obj-Y. Signed-off-by: Michal Marek <mmarek@suse.cz>
Diffstat (limited to 'Documentation/kbuild/kbuild.txt')
-rw-r--r--Documentation/kbuild/kbuild.txt14
1 files changed, 14 insertions, 0 deletions
diff --git a/Documentation/kbuild/kbuild.txt b/Documentation/kbuild/kbuild.txt
index bb3bf38f03da..6f8c1cabbc5d 100644
--- a/Documentation/kbuild/kbuild.txt
+++ b/Documentation/kbuild/kbuild.txt
@@ -1,3 +1,17 @@
+Output files
+
+modules.order
+--------------------------------------------------
+This file records the order in which modules appear in Makefiles. This
+is used by modprobe to deterministically resolve aliases that match
+multiple modules.
+
+modules.builtin
+--------------------------------------------------
+This file lists all modules that are built into the kernel. This is used
+by modprobe to not fail when trying to load something builtin.
+
+
Environment variables
KCPPFLAGS