193
The included gitcompile script does this job for you.
193
The included gitcompile script does this job for you. The ALSAKERNELDIR
194
can be eighter alsa-kmirror tree or whole Linux 2.6 source tree (see
195
"Compilation from Linux kernel tree").
195
197
Note: Some automake packages have missing aclocal program. Use newer version
199
201
Compilation from Linux kernel tree
200
202
==================================
202
If you have the linux kernel tree containing the corresponding ALSA
203
kernel codes (the version must match), you can build with that instead
204
of a separate alsa-kernel tree. In this case, run
205
utils/setup-alsa-kernel script in alsa-driver directory:
204
If you have a complete Linux kernel tree, you can build the ALSA drivers from
205
that kernel tree instead of from an alsa-kernel tree. Note that the ALSA
206
version included in that kernel tree must match the ALSA version of this
207
alsa-driver-build tree. The ALSA modules built from the kernel tree will be
208
built for the current running kernel, and not for the kernel version or
209
configuration in the kernel tree. In other words, the currently running
210
kernel version and the kernel version in the kernel tree need not be
213
Two ways are available:
215
Use gitcompile script directly:
216
-------------------------------
218
ALSAKERNELDIR=<YOUR-LINUX-KERNEL-TREE-PATH> ./gitcompile
220
Use utils/setup-alsa-kernel script:
221
-----------------------------------
223
In this case, run utils/setup-alsa-kernel script in alsa-driver directory:
207
225
utils/setup-alsa-kernel YOUR-LINUX-KERNEL-TREE-PATH
209
Then this script will create alsa-kernel sub-directory and make
210
necessary symlinks automatically. If you would like to copy the files
211
instead of symlinks (e.g. make an alsa-driver tarball), pass -c option
227
This script will create alsa-kernel sub-directory and make necessary symlinks
228
automatically. If you would like to copy the files instead of creating
229
symlinks (e.g. make an alsa-driver tarball), pass the -c option to
214
232
utils/setup-alsa-kernel -c YOUR-LINUX-KERNEL-TREE-PATH
216
After that, run gitcompile script.
234
After that, run the gitcompile script.