Re: [kbuild-devel] using $(src) in EXTRA_CFLAGS

2004-11-17 Thread Eric Sandeen
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,

Re: [kbuild-devel] using $(src) in EXTRA_CFLAGS

2004-11-17 Thread Sam Ravnborg
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

Re: [kbuild-devel] using $(src) in EXTRA_CFLAGS

2004-11-16 Thread Sam Ravnborg
On Tue, Nov 16, 2004 at 10:47:57PM -0600, Eric Sandeen wrote: I'm trying to make the XFS makefile work either embedded in the kernel tree at fs/xfs/Makefile, or as an out of tree makefile (make -C /path/to/kernel M=), and keep O= working properly as well. We currently have EXTRA_CFLAGS