diff options
Diffstat (limited to 'fs/xfs/Makefile')
-rw-r--r-- | fs/xfs/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/fs/xfs/Makefile b/fs/xfs/Makefile index c21f43506661..4c5edf0df9a3 100644 --- a/fs/xfs/Makefile +++ b/fs/xfs/Makefile | |||
@@ -17,6 +17,7 @@ | |||
17 | # | 17 | # |
18 | 18 | ||
19 | ccflags-y += -I$(src) # needed for trace events | 19 | ccflags-y += -I$(src) # needed for trace events |
20 | ccflags-y += -I$(src)/libxfs | ||
20 | 21 | ||
21 | ccflags-$(CONFIG_XFS_DEBUG) += -g | 22 | ccflags-$(CONFIG_XFS_DEBUG) += -g |
22 | 23 | ||
@@ -25,6 +26,11 @@ obj-$(CONFIG_XFS_FS) += xfs.o | |||
25 | # this one should be compiled first, as the tracing macros can easily blow up | 26 | # this one should be compiled first, as the tracing macros can easily blow up |
26 | xfs-y += xfs_trace.o | 27 | xfs-y += xfs_trace.o |
27 | 28 | ||
29 | # build the libxfs code first | ||
30 | xfs-y += $(addprefix libxfs/, \ | ||
31 | xfs_sb.o \ | ||
32 | ) | ||
33 | |||
28 | # highlevel code | 34 | # highlevel code |
29 | xfs-y += xfs_aops.o \ | 35 | xfs-y += xfs_aops.o \ |
30 | xfs_attr_inactive.o \ | 36 | xfs_attr_inactive.o \ |
@@ -82,7 +88,6 @@ xfs-y += xfs_alloc.o \ | |||
82 | xfs_inode_buf.o \ | 88 | xfs_inode_buf.o \ |
83 | xfs_log_recover.o \ | 89 | xfs_log_recover.o \ |
84 | xfs_log_rlimit.o \ | 90 | xfs_log_rlimit.o \ |
85 | xfs_sb.o \ | ||
86 | xfs_symlink_remote.o \ | 91 | xfs_symlink_remote.o \ |
87 | xfs_trans_resv.o | 92 | xfs_trans_resv.o |
88 | 93 | ||