[openib-general] Re: [RFC] Move InfiniBand .h files

Sam Ravnborg sam at ravnborg.org
Thu Aug 4 12:22:29 PDT 2005


On Thu, Aug 04, 2005 at 11:57:55AM -0700, Roland Dreier wrote:
>     Roland> Also, drivers/infiniband/include doesn't get put into the
>     Roland> /lib/modules/<ver>/build directory,
> 
>     Arjan> that is a symlink not a directory, and a symlink to the
>     Arjan> full source...
> 
> Sorry, I was too terse about the problem.  You're right, but typical
> distros don't ship full kernel source in their "support kernel builds"
> package.  And if I use an external build directory (ie "O=") then
> the symlink just points to my external build directory, which doesn't
> include the source to drivers/, just links to include/

If the external module uses a Kbuild file as explained in
Documentation/kbuild/makefiles.txt and then uses both O= and M=
when compiling the module there is no issue.

With respect to moving the .h files - please do so.
drivers/infiniband should only include header used in that same
directory. Not header files potentially uased by fs/.

	Sam



More information about the general mailing list