aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2007-11-28 02:28:09 -0500
committerLachlan McIlroy <lachlan@redback.melbourne.sgi.com>2008-02-17 21:06:17 -0500
commit269cdfaf769f5cd831284cc831790c7c5038040f (patch)
treed7e4ff963d0bf73f5ba61500f1bae0fcfca9d9d6
parent794f744b225aaf35742aac9e7b9dda96a9943413 (diff)
[XFS] Added quota targets and removed dmapi directory
Fixes build failures introduced by bad merge to mainline.
-rw-r--r--fs/xfs/Makefile31
1 files changed, 13 insertions, 18 deletions
diff --git a/fs/xfs/Makefile b/fs/xfs/Makefile
index 57c923212d72..36ec614e699a 100644
--- a/fs/xfs/Makefile
+++ b/fs/xfs/Makefile
@@ -25,8 +25,18 @@ ifeq ($(CONFIG_XFS_DEBUG),y)
25endif 25endif
26 26
27obj-$(CONFIG_XFS_FS) += xfs.o 27obj-$(CONFIG_XFS_FS) += xfs.o
28obj-$(CONFIG_XFS_QUOTA) += quota/ 28
29obj-$(CONFIG_XFS_DMAPI) += dmapi/ 29xfs-$(CONFIG_XFS_QUOTA) += $(addprefix quota/, \
30 xfs_dquot.o \
31 xfs_dquot_item.o \
32 xfs_trans_dquot.o \
33 xfs_qm_syscalls.o \
34 xfs_qm_bhv.o \
35 xfs_qm.o)
36
37ifeq ($(CONFIG_XFS_QUOTA),y)
38xfs-$(CONFIG_PROC_FS) += quota/xfs_qm_stats.o
39endif
30 40
31xfs-$(CONFIG_XFS_RT) += xfs_rtalloc.o 41xfs-$(CONFIG_XFS_RT) += xfs_rtalloc.o
32xfs-$(CONFIG_XFS_POSIX_ACL) += xfs_acl.o 42xfs-$(CONFIG_XFS_POSIX_ACL) += xfs_acl.o
@@ -96,8 +106,7 @@ xfs-y += $(addprefix $(XFS_LINUX)/, \
96 xfs_iops.o \ 106 xfs_iops.o \
97 xfs_lrw.o \ 107 xfs_lrw.o \
98 xfs_super.o \ 108 xfs_super.o \
99 xfs_vnode.o \ 109 xfs_vnode.o)
100 xfs_ksyms.o)
101 110
102# Objects in support/ 111# Objects in support/
103xfs-y += $(addprefix support/, \ 112xfs-y += $(addprefix support/, \
@@ -106,17 +115,3 @@ xfs-y += $(addprefix support/, \
106 115
107xfs-$(CONFIG_XFS_TRACE) += support/ktrace.o 116xfs-$(CONFIG_XFS_TRACE) += support/ktrace.o
108 117
109# If both xfs and kdb modules are built in then xfsidbg is built in. If xfs is
110# a module and kdb modules are being compiled then xfsidbg must be a module, to
111# follow xfs. If xfs is built in then xfsidbg tracks the kdb module state.
112# This must come after the main xfs code so xfs initialises before xfsidbg.
113# KAO
114ifneq ($(CONFIG_KDB_MODULES),)
115 ifeq ($(CONFIG_XFS_FS),y)
116 obj-$(CONFIG_KDB_MODULES) += xfsidbg.o
117 else
118 obj-$(CONFIG_XFS_FS) += xfsidbg.o
119 endif
120endif
121
122CFLAGS_xfsidbg.o += -Iarch/$(ARCH)/kdb