On Fri, 20 Aug 2010, Stephen Warren wrote:
Jaroslav Kysela wrote:
On Fri, 20 Aug 2010, Stephen Warren wrote:
Jaroslav Kysela wrote:
On Fri, 20 Aug 2010, Takashi Iwai wrote:
At Thu, 19 Aug 2010 15:04:03 -0700, Stephen Warren wrote:
I'd like to use/develop-against/patch the ALSA drivers from: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound-2.6.git ... ... However, I can't see how to get gitcompile from there to build the sound subset of a complete kernel tree rather than e.g. something like:
See alsa-driver/INSTALL, "Compilation from Linux kernel tree" section. In short, run utils/setup-alsa-kernel $YOUR_SOUND_GIT_TREE_APATH then gitcompile can be used.
It's not required. The alsa-driver/Makefile handles both alsa-kmirror and alsa-kernel trees now.
When I check out Takashi's sound-2.6 tree, am I suppose to explicitly specify the checkout directory so that it's named alsa-kmirror now instead of sound-2.6; the git-compile script doesn't check for the name sound-2.6. Should the following be updated to search for more names:
test -z $ALSAKERNELDIR && ALSAKERNELDIR=../alsa-kmirror
If you like, send a patch to gitcompile to check for sound-2.6 directory as well. I'm using different naming (alsa-kernel), so the gitcompile script checks for alsa-kernel and alsa-kmirror trees.
Unfortunately, it doesn't seem to work:
ALSAKERNELDIR=../sound-2.6/sound ./gitcompile
It should be:
ALSAKERNELDIR=../sound-2.6 ./gitcompile
Jaroslav
----- Jaroslav Kysela perex@perex.cz Linux Kernel Sound Maintainer ALSA Project, Red Hat, Inc.