aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Warren <swarren@nvidia.com>2010-08-20 21:10:42 +0200
committerJaroslav Kysela <perex@perex.cz>2010-08-20 22:04:01 +0200
commit9f4083c4f69642bcf753358b66a26fb68f10a863 (patch)
treef6cb2477cb95de83d83033502756b16258f8b6f5
parent1e6a0717783ed443d34061990fdcc48002969ed6 (diff)
downloadalsa-driver-build-unstable-9f4083c4f69642bcf753358b66a26fb68f10a863.tar.gz
INSTALL: Building from kernel tree doc fixes
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@nvidia.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r--INSTALL24
1 files changed, 15 insertions, 9 deletions
diff --git a/INSTALL b/INSTALL
index 9ac4a85ec..641f12d2b 100644
--- a/INSTALL
+++ b/INSTALL
@@ -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
+identical.
+
+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
+setup-alsa-kernel:
utils/setup-alsa-kernel -c YOUR-LINUX-KERNEL-TREE-PATH
-After that, run gitcompile script.
+After that, run the gitcompile script.
Cross-compiling