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

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



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).  And 3.0 is wrongly being treated as the latter.

You should remove the version test and make it always use kbuild, since
2.4.x is obsolete.

Ben.

-- 
Ben Hutchings
Never attribute to conspiracy what can adequately be explained by stupidity.

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: