lkml.org 
[lkml]   [2005]   [Aug]   [4]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateThu, 04 Aug 2005 13:54:56 -0600
From"Christopher Friesen" <>
SubjectRe: [RFC] Move InfiniBand .h files
Sam Ravnborg wrote:
> On Thu, Aug 04, 2005 at 11:57:55AM -0700, Roland Dreier wrote:

>>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/.

I think Roland was talking about the case where the running kernel was 
built with "O=", in which case the /lib/modules.../build symlink points 
to the build directory rather than the original source tree.

Does Kbuild handle this case properly?

Chris
-
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/

\
 
 \ /
  Last update: 2005-08-04 22:00    [from the cache]
©2003-2008