summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@infradead.org>2011-08-14 17:13:00 +0000
committerAlex Elder <aelder@sgi.com>2011-08-22 16:37:24 -0500
commitb6bede3b4cdfbd188557ab50fceec2e91d295edf (patch)
tree9ebdeda9a0cac40a90d4b01c30380034b6f671d9 /fs
parentc59d87c460767bc35dafd490139d3cfe78fb8da4 (diff)
downloadlinux-b6bede3b4cdfbd188557ab50fceec2e91d295edf.tar.bz2
xfs: fix tracing builds inside the source tree
The code really requires the current source directory to be in the header search path. We already do this if building with an object tree separate from the source, but it needs to be added manually if building inside the source. The cflags addition for it accidentally got removed when collapsing the xfs directory structure. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Dave Chinner <david@fromorbit.com> Signed-off-by: Alex Elder <aelder@sgi.com>
Diffstat (limited to 'fs')
-rw-r--r--fs/xfs/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/xfs/Makefile b/fs/xfs/Makefile
index ffce328309b8..427a4e82a588 100644
--- a/fs/xfs/Makefile
+++ b/fs/xfs/Makefile
@@ -16,6 +16,8 @@
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
+ccflags-y += -I$(src) # needed for trace events
+
ccflags-$(CONFIG_XFS_DEBUG) += -g
obj-$(CONFIG_XFS_FS) += xfs.o