Bug#641151: Processed: Re: Bug#641151: sl-modem-source: Fails to compile on Linux 3.0 kernels

2011-09-12 Thread Ben Hutchings
The correct way to invoke kbuild is: make -C /lib/modules/$(uname -r)/build M=$(PWD) Ben. -- Ben Hutchings Never attribute to conspiracy what can adequately be explained by stupidity. signature.asc Description: This is a digitally signed message part

Bug#641151: Processed: Re: Bug#641151: sl-modem-source: Fails to compile on Linux 3.0 kernels

2011-09-12 Thread Ben Hutchings
On Mon, 2011-09-12 at 13:07 +0100, Ben Hutchings wrote: The correct way to invoke kbuild is: make -C /lib/modules/$(uname -r)/build M=$(PWD) Without looking at the source, I suspect that the makefile tries to distinguish between 2.6.x (where the above works) and 2.4.x (where it doesn't).