[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiling alsa driver source



Marc Hinrichs <fuffzig@marcfuffzig.de> writes:

> I have installed the binary kernel-image-2.4.20-1-k7. I also have
> installed the kernel-headers and the alsa-source, both in
> /usr/src. Now I want to know how to compile an alsa-module. Does
> anyone have an an idea how to compile the module using the
> kernel-headers?

In this particular case, I'd just install the corresponding
alsa-modules-2.4.20-1-k7 package out of unstable.  In general, I'd try

  debian/rules kdist-image KSRC=/usr/src/kernel-headers-2.4.20-1-k7 \
    KMAINT="My Name" KEMAIL="my@email.example.com" KDREV=2.4.20-7 \
    KVERS=2.4.20 APPEND_TO_VERSION=-1-k7

/usr/share/doc/kernel-package/README.modules might have more
information (install the kernel-package package).

-- 
David Maze         dmaze@debian.org      http://people.debian.org/~dmaze/
"Theoretical politics is interesting.  Politicking should be illegal."
	-- Abra Mitchell



Reply to: