Re: 2.5.72 module loading issue

From: Sam Ravnborg (sam@ravnborg.org)
Date: Thu Jul 24 2003 - 16:08:48 EST


On Thu, Jul 24, 2003 at 11:11:24AM -0600, yiding_wang@agilent.com wrote:
> Hello Randy,
>
> Thanks for the response. I did not get time to look into this till now. The way you suggested is to add module build process into kernel build. This requires a user to build a loadable module with kernel together. What I really want to is to have module build alone but include kernel symbols and variables so it will not have problem when loading. The benefit of doing it is to make user and developer easy to change the code and rebuild without experiencing the kernel rebuild process every time. I read those two documents and they mainly talking about how to build module with kernel together.

Please break your lines - they are very long..

It is well known that building drivers outside the kernel tree is not
supported in 2.6.0-test yet. This is one of the two issues remaining before
kbuild is ready. You will see them present on Andrew Morton's must-fix
list.

> In2.4.x, there is a "Rules.make" which has all needed symbols and variables defined. I just includes that file for my module build and everything works perfectly. Now in 2.5.x, those structure has been changed and the "rule" files seem to be relocated under "scripts" and being changed too. I am trying to make use of those "rules" to make module build and load simpler compare with build module with kernel each time.
>
> Any ideas?

Wait a little more, and it will be possible to build modules in a clean
way outside the kernel tree.

        Sam
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:23 EST