aboutsummaryrefslogtreecommitdiffstats
path: root/fs/xfs/Makefile
diff options
context:
space:
mode:
authorEric Sandeen <sandeen@sandeen.net>2007-11-27 16:59:56 +1100
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-02-18 12:59:11 +1100
commit794f744b225aaf35742aac9e7b9dda96a9943413 (patch)
treef012535ad9c2db32d7b816471a622d92baf30493 /fs/xfs/Makefile
parent58b7983d15a422d9616bdc4e245d5c31dfaefbe2 (diff)
downloadkernel_samsung_smdk4412-794f744b225aaf35742aac9e7b9dda96a9943413.zip
kernel_samsung_smdk4412-794f744b225aaf35742aac9e7b9dda96a9943413.tar.gz
kernel_samsung_smdk4412-794f744b225aaf35742aac9e7b9dda96a9943413.tar.bz2
[XFS] Fix up xfs out-of-tree builds. (a.k.a. external modules)
Change -I include directives to find headers in the out-of-tree spot. This allows a directory containing only xfs files to be built as: SGI-PV: 971186 SGI-Modid: xfs-linux-melb:xfs-kern:29878a Signed-off-by: Eric Sandeen <sandeen@sandeen.net> Signed-off-by: Donald Douwsma <donaldd@sgi.com> Signed-off-by: Lachlan McIlroy <lachlan@sgi.com>
Diffstat (limited to 'fs/xfs/Makefile')
-rw-r--r--fs/xfs/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/xfs/Makefile b/fs/xfs/Makefile
index 6bf3ee2..57c9232 100644
--- a/fs/xfs/Makefile
+++ b/fs/xfs/Makefile
@@ -16,7 +16,7 @@
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-EXTRA_CFLAGS += -Ifs/xfs -Ifs/xfs/linux-2.6 -funsigned-char
+EXTRA_CFLAGS += -I$(src) -I$(src)/linux-2.6 -funsigned-char
XFS_LINUX := linux-2.6