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?

Note: No space between -I and fs/ due to a kbuild limitation.

Hm, maybe this is my whole problem, I'll double check.

Thanks,

-Eric


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