severity 379753 normal
thanks
On Tue, Jul 25, 2006 at 01:46:29PM +0200, Michael Prokop wrote:
> Package: rt2x00-source
> Version: 0cvs20060721-1
> Severity: important
>
>
> Running:
>
> % module-assistant -f -l '2.6.17-grml' -k /$PATH_TO/linux-2.6.17-grml build
> rt2x00
>
> does not work as debian/rules does not take care of $KERNEL_SOURCES
> (take a look at upstream's Makefile). Therefore building the module
> against a kernel which isn't currently running does not work (except
> using a workaround with environment variables and running
> "debian/rules binary-modules" manually).
What do you mean exactly?
Looking at the upstream Makefile:
ifdef KERNDIR
KERNEL_SOURCES := $(KERNDIR)
else
KERNEL_SOURCES := /lib/modules/$(shell uname -r)/build
endif
and to debian/rules:
$(MAKE) KERNDIR=$(KSRC)
So the path to the kernel source is set correctly.
Moreover, it is possible to build the module against a kernel which
isn't currently running does not work, at least for debian kernels
(tested). I don't have time to test for non-debian kernels, but I don't
see why it won't works.
Please provide me a log of the build.
Meanwhile as it works for debian kernels, I am decreasing the severity
to normal.
> BTW (the same applies to rt2400-source and rt2500-source as well):
>
> % apt-cache show rt2x00-source
> [...]
> In order to compile the kernel modules you need the kernel sources (or
> the kernel-headers for the kernel-image packages from Debian). For
> compile instructions look into usr/share/doc/rt2x00-source/README.Debian
> ^
> missing '/'
It is fixed in the same time as #379762.
Bye,
Aurelien
--
.''`. Aurelien Jarno | GPG: 1024D/F1BCDB73
: :' : Debian developer | Electrical Engineer
`. `' [EMAIL PROTECTED] | [EMAIL PROTECTED]
`- people.debian.org/~aurel32 | www.aurel32.net
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]