xref: /openbmc/linux/fs/ocfs2/Makefile (revision 9e6aea22)
1b2441318SGreg Kroah-Hartman# SPDX-License-Identifier: GPL-2.0
29e6aea22SLarry Chenccflags-y := -I$(src)
3ccd979bdSMark Fasheh
4b92eccddSJoel Beckerobj-$(CONFIG_OCFS2_FS) += 	\
5b92eccddSJoel Becker	ocfs2.o			\
69341d229SJoel Becker	ocfs2_stackglue.o
79341d229SJoel Becker
89341d229SJoel Beckerobj-$(CONFIG_OCFS2_FS_O2CB) += ocfs2_stack_o2cb.o
99341d229SJoel Beckerobj-$(CONFIG_OCFS2_FS_USERSPACE_CLUSTER) += ocfs2_stack_user.o
10ccd979bdSMark Fasheh
11ccd979bdSMark Fashehocfs2-objs := \
12ccd979bdSMark Fasheh	alloc.o 		\
13ccd979bdSMark Fasheh	aops.o 			\
1470ad1ba7SJoel Becker	blockcheck.o		\
15ccd979bdSMark Fasheh	buffer_head_io.o	\
16ccd979bdSMark Fasheh	dcache.o 		\
17ccd979bdSMark Fasheh	dir.o 			\
18ccd979bdSMark Fasheh	dlmglue.o 		\
19ccd979bdSMark Fasheh	export.o 		\
20ccd979bdSMark Fasheh	extent_map.o 		\
21ccd979bdSMark Fasheh	file.o 			\
22ccd979bdSMark Fasheh	heartbeat.o 		\
23ccd979bdSMark Fasheh	inode.o 		\
24ca4d147eSHerbert Poetzl	ioctl.o 		\
25ccd979bdSMark Fasheh	journal.o 		\
26ccd979bdSMark Fasheh	localalloc.o 		\
2753fc622bSMark Fasheh	locks.o			\
28ccd979bdSMark Fasheh	mmap.o 			\
29ccd979bdSMark Fasheh	namei.o 		\
30f2c870e3STao Ma	refcounttree.o		\
31d02f00ccSMark Fasheh	reservations.o		\
32028ba5dfSTristan Ye	move_extents.o		\
33d659072fSTao Ma	resize.o		\
34ccd979bdSMark Fasheh	slot_map.o 		\
35ccd979bdSMark Fasheh	suballoc.o 		\
36ccd979bdSMark Fasheh	super.o 		\
37ccd979bdSMark Fasheh	symlink.o 		\
38ccd979bdSMark Fasheh	sysfile.o 		\
39ccd979bdSMark Fasheh	uptodate.o		\
409e33d69fSJan Kara	quota_local.o		\
419e33d69fSJan Kara	quota_global.o		\
42e6aabe0cSJan Kara	xattr.o			\
43a860f6ebSGang He	acl.o	\
44a860f6ebSGang He	filecheck.o
45929fb014STiger Yang
46286eaa95SJoel Beckerocfs2_stackglue-objs := stackglue.o
47286eaa95SJoel Beckerocfs2_stack_o2cb-objs := stack_o2cb.o
48b92eccddSJoel Beckerocfs2_stack_user-objs := stack_user.o
49286eaa95SJoel Becker
5034a9dd7eSJoel Beckerobj-$(CONFIG_OCFS2_FS) += dlmfs/
519341d229SJoel Becker# cluster/ is always needed when OCFS2_FS for masklog support
52ccd979bdSMark Fashehobj-$(CONFIG_OCFS2_FS) += cluster/
539341d229SJoel Beckerobj-$(CONFIG_OCFS2_FS_O2CB) += dlm/
54