Download Firefox: WindowsMac OS X
logo       
Google Custom Search
    AddThis Social Bookmark Button

Applied: build system changes: msg#00052

Subject: Applied: build system changes
Hello!

I have fixed a check for the kernel version in the Makefile that would assume that any kernel without Rules.make is a 2.6 kernel. Now Makefile checks the kernel version instead. This allows building the driver against heavily stripped 2.4 kernel trees. In particular, the driver can be compiled on KNOPPIX 3.4.

There are some changes on the 2.6 side. It has been some time since the build system supports building external modules by setting the "M" variable. Using SUBDIRS instead is was a hack and it may break in any later version of the kernel. Using "M" is documented and is likely to be preserved.

I was able to verify that the kernel shipped with Fedora Core 2 (that's patched 2.6.5) allows using the new build system. If you have a kernel from 2.5.x to 2.6.4, you won't be able to compile the driver outside the tree. In this case it's recommended to upgrade the kernel. The second best option is replacing the driver in the kernel source.

I'm sorry for inconvenience, but those kernels didn't provide a way to build modules outside the kernel tree. We were doing it through a "backdoor". It's more important to ensure that the next standalone release won't break with future, more stable 2.6 kernels.

--
Regards,
Pavel Roskin


-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click


<Prev in Thread] Current Thread [Next in Thread>