On Wed, Nov 17, 2004 at 07:54:47AM -0600, Eric Sandeen wrote:
> Sam Ravnborg wrote:
> 
> >There is no need to specify full path.
> >The kernel is always build with top of output tree as current
> >directory so a much simpler version is enough:
> >EXTRA_CFLAGS += -Ifs/xfs -Ifs/xfs/linux-2.6
> 
> But what about the case where I wish to use the same Makefile to work 
> out of tree, where the xfs code is not embedded in fs/xfs?  i.e. using the
> 
> make -C /path/to/tree M=`pwd` modules
> 
> method...  Is cwd still the top of the tree?  How then to specify path 
> to the out-of-tree build?
Then cwd will be same dir as where the Makefile is placed.
So just make sure to use same directory structure for XFS
no matter if it is in the kernel or outside the kernel.

        Sam


-------------------------------------------------------
This SF.Net email is sponsored by: InterSystems CACHE
FREE OODBMS DOWNLOAD - A multidimensional database that combines
robust object and relational technologies, making it a perfect match
for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8
_______________________________________________
kbuild-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/kbuild-devel

Reply via email to