diff options
author | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2007-11-28 02:28:09 -0500 |
---|---|---|
committer | Lachlan McIlroy <lachlan@redback.melbourne.sgi.com> | 2008-02-17 21:06:17 -0500 |
commit | 269cdfaf769f5cd831284cc831790c7c5038040f (patch) | |
tree | d7e4ff963d0bf73f5ba61500f1bae0fcfca9d9d6 /fs/xfs/Makefile | |
parent | 794f744b225aaf35742aac9e7b9dda96a9943413 (diff) |
[XFS] Added quota targets and removed dmapi directory
Fixes build failures introduced by bad merge to mainline.
Diffstat (limited to 'fs/xfs/Makefile')
-rw-r--r-- | fs/xfs/Makefile | 31 |
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) | |||
25 | endif | 25 | endif |
26 | 26 | ||
27 | obj-$(CONFIG_XFS_FS) += xfs.o | 27 | obj-$(CONFIG_XFS_FS) += xfs.o |
28 | obj-$(CONFIG_XFS_QUOTA) += quota/ | 28 | |
29 | obj-$(CONFIG_XFS_DMAPI) += dmapi/ | 29 | xfs-$(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 | |||
37 | ifeq ($(CONFIG_XFS_QUOTA),y) | ||
38 | xfs-$(CONFIG_PROC_FS) += quota/xfs_qm_stats.o | ||
39 | endif | ||
30 | 40 | ||
31 | xfs-$(CONFIG_XFS_RT) += xfs_rtalloc.o | 41 | xfs-$(CONFIG_XFS_RT) += xfs_rtalloc.o |
32 | xfs-$(CONFIG_XFS_POSIX_ACL) += xfs_acl.o | 42 | xfs-$(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/ |
103 | xfs-y += $(addprefix support/, \ | 112 | xfs-y += $(addprefix support/, \ |
@@ -106,17 +115,3 @@ xfs-y += $(addprefix support/, \ | |||
106 | 115 | ||
107 | xfs-$(CONFIG_XFS_TRACE) += support/ktrace.o | 116 | xfs-$(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 | ||
114 | ifneq ($(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 | ||
120 | endif | ||
121 | |||
122 | CFLAGS_xfsidbg.o += -Iarch/$(ARCH)/kdb | ||