We currently have EXTRA_CFLAGS set in the fs/xfs/quota/Makefile, things like:
EXTRA_CFLAGS += -I $(TOPDIR)/fs/xfs -I $(TOPDIR)/fs/xfs/linux-2.6
now, this won't work for an out of tree build, where the xfs code is not embedded in the kernel tree at fs/xfs.
So I tried something like:
EXTRA_CFLAGS += -I$(src)/../ -I$(src)/../linux-2.6
(trying to reach back up from xfs/quota)
and that seems to work for an out-of-tree build and a normal in-tree build, but as soon as I try an in-tree build with O=, I run into trouble again. EXTRA_CFLAGS expands to:
CFLAGS -I fs/xfs/quota/../ -I fs/xfs/quota/../linux-2.6
but the needed files aren't found. Am I missing something obvious here? Or am I trying to do something that shouldn't work?
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