[alsa-devel] [PATCH] INSTALL: Building from kernel tree doc fixes

Stephen Warren swarren at nvidia.com
Fri Aug 20 21:10:42 CEST 2010

Does the following patch seem reasonable? It certainly describes the
Requirements in a way I personally understand better? Hopefully, it's
Accurate in any other scenarios that I'm not familiar with:-)

Be more explicit about which versions of which components need to match when
building the ALSA modules from a complete Linux kernel tree.

Signed-off-by: Stephen Warren <swarren at nvidia.com>
 INSTALL |   24 +++++++++++++++---------
 1 files changed, 15 insertions(+), 9 deletions(-)

diff --git a/INSTALL b/INSTALL
index 9ac4a85..641f12d 100644
@@ -199,21 +199,27 @@ Note: Some automake packages have missing aclocal program. Use newer version
 Compilation from Linux kernel tree
-If you have the linux kernel tree containing the corresponding ALSA
-kernel codes (the version must match), you can build with that instead
-of a separate alsa-kernel tree.  In this case, run
-utils/setup-alsa-kernel script in alsa-driver directory:
+If you have a complete Linux kernel tree, you can build the ALSA drivers from
+that kernel tree instead of from an alsa-kernel tree.  Note that the ALSA
+version included in that kernel tree must match the ALSA version of this 
+alsa-driver-build tree.  The ALSA modules built from the kernel tree will be
+built for the current running kernel, and not for the kernel version or
+configuration in the kernel tree.  In other words, the currently running
+kernel version and the kernel version in the kernel tree need not be
+In this case, run utils/setup-alsa-kernel script in alsa-driver directory:
 	utils/setup-alsa-kernel YOUR-LINUX-KERNEL-TREE-PATH
-Then this script will create alsa-kernel sub-directory and make
-necessary symlinks automatically.  If you would like to copy the files
-instead of symlinks (e.g. make an alsa-driver tarball), pass -c option
-to setup-alsa-kernel
+This script will create alsa-kernel sub-directory and make necessary symlinks
+automatically.  If you would like to copy the files instead of creating
+symlinks (e.g. make an alsa-driver tarball), pass the -c option to
 	utils/setup-alsa-kernel -c YOUR-LINUX-KERNEL-TREE-PATH
-After that, run gitcompile script.
+After that, run the gitcompile script.

More information about the Alsa-devel mailing list