xref: /openbmc/linux/fs/Makefile (revision 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2)
1#
2# Makefile for the Linux filesystems.
3#
4# 14 Sep 2000, Christoph Hellwig <hch@infradead.org>
5# Rewritten to use lists instead of if-statements.
6#
7
8obj-y :=	open.o read_write.o file_table.o buffer.o  bio.o super.o \
9		block_dev.o char_dev.o stat.o exec.o pipe.o namei.o fcntl.o \
10		ioctl.o readdir.o select.o fifo.o locks.o dcache.o inode.o \
11		attr.o bad_inode.o file.o filesystems.o namespace.o aio.o \
12		seq_file.o xattr.o libfs.o fs-writeback.o mpage.o direct-io.o \
13
14obj-$(CONFIG_EPOLL)		+= eventpoll.o
15obj-$(CONFIG_COMPAT)		+= compat.o
16
17nfsd-$(CONFIG_NFSD)		:= nfsctl.o
18obj-y				+= $(nfsd-y) $(nfsd-m)
19
20obj-$(CONFIG_BINFMT_AOUT)	+= binfmt_aout.o
21obj-$(CONFIG_BINFMT_EM86)	+= binfmt_em86.o
22obj-$(CONFIG_BINFMT_MISC)	+= binfmt_misc.o
23
24# binfmt_script is always there
25obj-y				+= binfmt_script.o
26
27obj-$(CONFIG_BINFMT_ELF)	+= binfmt_elf.o
28obj-$(CONFIG_BINFMT_ELF_FDPIC)	+= binfmt_elf_fdpic.o
29obj-$(CONFIG_BINFMT_SOM)	+= binfmt_som.o
30obj-$(CONFIG_BINFMT_FLAT)	+= binfmt_flat.o
31
32obj-$(CONFIG_FS_MBCACHE)	+= mbcache.o
33obj-$(CONFIG_FS_POSIX_ACL)	+= posix_acl.o xattr_acl.o
34
35obj-$(CONFIG_QUOTA)		+= dquot.o
36obj-$(CONFIG_QFMT_V1)		+= quota_v1.o
37obj-$(CONFIG_QFMT_V2)		+= quota_v2.o
38obj-$(CONFIG_QUOTACTL)		+= quota.o
39
40obj-$(CONFIG_DNOTIFY)		+= dnotify.o
41
42obj-$(CONFIG_PROC_FS)		+= proc/
43obj-y				+= partitions/
44obj-$(CONFIG_SYSFS)		+= sysfs/
45obj-y				+= devpts/
46
47obj-$(CONFIG_PROFILING)		+= dcookies.o
48
49# Do not add any filesystems before this line
50obj-$(CONFIG_REISERFS_FS)	+= reiserfs/
51obj-$(CONFIG_EXT3_FS)		+= ext3/ # Before ext2 so root fs can be ext3
52obj-$(CONFIG_JBD)		+= jbd/
53obj-$(CONFIG_EXT2_FS)		+= ext2/
54obj-$(CONFIG_CRAMFS)		+= cramfs/
55obj-$(CONFIG_RAMFS)		+= ramfs/
56obj-$(CONFIG_HUGETLBFS)		+= hugetlbfs/
57obj-$(CONFIG_CODA_FS)		+= coda/
58obj-$(CONFIG_MINIX_FS)		+= minix/
59obj-$(CONFIG_FAT_FS)		+= fat/
60obj-$(CONFIG_MSDOS_FS)		+= msdos/
61obj-$(CONFIG_VFAT_FS)		+= vfat/
62obj-$(CONFIG_BFS_FS)		+= bfs/
63obj-$(CONFIG_ISO9660_FS)	+= isofs/
64obj-$(CONFIG_DEVFS_FS)		+= devfs/
65obj-$(CONFIG_HFSPLUS_FS)	+= hfsplus/ # Before hfs to find wrapped HFS+
66obj-$(CONFIG_HFS_FS)		+= hfs/
67obj-$(CONFIG_VXFS_FS)		+= freevxfs/
68obj-$(CONFIG_NFS_FS)		+= nfs/
69obj-$(CONFIG_EXPORTFS)		+= exportfs/
70obj-$(CONFIG_NFSD)		+= nfsd/
71obj-$(CONFIG_LOCKD)		+= lockd/
72obj-$(CONFIG_NLS)		+= nls/
73obj-$(CONFIG_SYSV_FS)		+= sysv/
74obj-$(CONFIG_SMB_FS)		+= smbfs/
75obj-$(CONFIG_CIFS)		+= cifs/
76obj-$(CONFIG_NCP_FS)		+= ncpfs/
77obj-$(CONFIG_HPFS_FS)		+= hpfs/
78obj-$(CONFIG_NTFS_FS)		+= ntfs/
79obj-$(CONFIG_UFS_FS)		+= ufs/
80obj-$(CONFIG_EFS_FS)		+= efs/
81obj-$(CONFIG_JFFS_FS)		+= jffs/
82obj-$(CONFIG_JFFS2_FS)		+= jffs2/
83obj-$(CONFIG_AFFS_FS)		+= affs/
84obj-$(CONFIG_ROMFS_FS)		+= romfs/
85obj-$(CONFIG_QNX4FS_FS)		+= qnx4/
86obj-$(CONFIG_AUTOFS_FS)		+= autofs/
87obj-$(CONFIG_AUTOFS4_FS)	+= autofs4/
88obj-$(CONFIG_ADFS_FS)		+= adfs/
89obj-$(CONFIG_UDF_FS)		+= udf/
90obj-$(CONFIG_SUN_OPENPROMFS)	+= openpromfs/
91obj-$(CONFIG_JFS_FS)		+= jfs/
92obj-$(CONFIG_XFS_FS)		+= xfs/
93obj-$(CONFIG_AFS_FS)		+= afs/
94obj-$(CONFIG_BEFS_FS)		+= befs/
95obj-$(CONFIG_HOSTFS)		+= hostfs/
96obj-$(CONFIG_HPPFS)		+= hppfs/
97obj-$(CONFIG_DEBUG_FS)		+= debugfs/
98