How to write makefile for module in 2.6 kernel which builds and uses libraries
I have an application, which I want to integrate as driver into kernel, so I created the .o file using my Makefile. this object file can be insmoded in 2.4 kernel but not in 2.6 kernel.
I found that 2.6 kernel can insmod .ko files.
My Makefile creates some libraries and finally ld's all .o and libraries.
I searched in the net and found how we can write makefile for a module with some of the files but didnt find anything for libraries.
I am reluctant in writing whole new makefile and want to modify existing makefile which uses libraries.
I will appreciate your support.