Jaroslav Kysela wrote:
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
sound-2.6 is a complete Linux kernel tree, not just the ALSA drivers. Hence, the second part of the following test fails, because last.c is in ../sound-2.6/sound/last.c not ../sound-2.6/last.c
if [ ! -d $ALSAKERNELDIR -o ! -f $ALSAKERNELDIR/last.c ]; then echo "No alsa-kmirror is found."
----------------------------------------------------------------------------------- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. -----------------------------------------------------------------------------------