![]() |
need help in writing Makefile for module in 2.6 kernel
Hi,
I want to make a module for 2.6 kernel, but it involves first making libraries and then ld all .o and .a . How can I do it in 2.6 kernel since the way we write Makefile is completely different from that for 2.4 kernel. I will appreciate your support. Regards Videsh |
This would be better asked in the programming forum, but you should be able to find a lot of (updated/specific) information in the documentation that comes with your kernel, especially in the ./Documentation/kbuild/ directory.
Hope that helps a little, though. |
Thanks for ur reply scott.
I read the documents, it mentions something about building library, but it did not work when I tried using lib-m. I have some cpp files also, but those are not compiled even if I give it as {modulename}-cxxobjs as mentioned in the document. |
Please do not post the same thread in more than one forum. Picking the most relevant forum and posting it once there makes it easier for other members to help you and keeps the discussion all in one place.
http://www.linuxquestions.org/rules.php Continue this here. |
| All times are GMT -5. The time now is 05:37 AM. |