#
# Makefile for the Linux filesystems.
#
# 14 Sep 2000, Christoph Hellwig <hch@infradead.org>
# Rewritten to use lists instead of if-statements.
#
GCOV_PROFILE := y
obj-y := open.o read_write.o file_table.o super.o \
char_dev.o stat.o exec.o pipe.o namei.o fcntl.o \
ioctl.o readdir.o select.o dcache.o inode.o \
attr.o bad_inode.o file.o filesystems.o namespace.o \
seq_file.o xattr.o libfs.o fs-writeback.o \
pnode.o splice.o sync.o utimes.o \
stack.o fs_struct.o statfs.o fs_pin.o nsfs.o
ifeq ($([31mCONFIG_BLOCK[0m),y)
obj-y += buffer.o block_dev.o direct-io.o mpage.o
else
obj-y += no-block.o
endif
obj-$([31mCONFIG_PROC_FS[0m) += proc_namespace.o
obj-y += notify/
obj-$([31mCONFIG_EPOLL[0m) += eventpoll.o
obj-$([31mCONFIG_ANON_INODES[0m) += anon_inodes.o
obj-$([31mCONFIG_SIGNALFD[0m) += signalfd.o
obj-$([31mCONFIG_TIMERFD[0m) += timerfd.o
obj-$([31mCONFIG_EVENTFD[0m) += eventfd.o
obj-$([31mCONFIG_USERFAULTFD[0m) += userfaultfd.o
obj-$([31mCONFIG_AIO[0m) += aio.o
obj-$([31mCONFIG_FS_DAX[0m) += dax.o
obj-$([31mCONFIG_FS_ENCRYPTION[0m) += crypto/
obj-$([31mCONFIG_FILE_LOCKING[0m) += locks.o
obj-$([31mCONFIG_COMPAT[0m) += compat.o compat_ioctl.o
obj-$([31mCONFIG_BINFMT_AOUT[0m) += binfmt_aout.o
obj-$([31mCONFIG_BINFMT_EM86[0m) += binfmt_em86.o
obj-$([31mCONFIG_BINFMT_MISC[0m) += binfmt_misc.o
obj-$([31mCONFIG_BINFMT_SCRIPT[0m) += binfmt_script.o
obj-$([31mCONFIG_BINFMT_ELF[0m) += binfmt_elf.o
obj-$([31mCONFIG_COMPAT_BINFMT_ELF[0m) += compat_binfmt_elf.o
obj-$([31mCONFIG_BINFMT_ELF_FDPIC[0m) += binfmt_elf_fdpic.o
obj-$([31mCONFIG_BINFMT_FLAT[0m) += binfmt_flat.o
obj-$([31mCONFIG_FS_MBCACHE[0m) += mbcache.o
obj-$([31mCONFIG_FS_POSIX_ACL[0m) += posix_acl.o
obj-$([31mCONFIG_NFS_COMMON[0m) += nfs_common/
obj-$([31mCONFIG_COREDUMP[0m) += coredump.o
obj-$([31mCONFIG_SYSCTL[0m) += drop_caches.o
obj-$([31mCONFIG_FHANDLE[0m) += fhandle.o
obj-$([31mCONFIG_FS_IOMAP[0m) += iomap.o
obj-y += quota/
obj-$([31mCONFIG_PROC_FS[0m) += proc/
obj-$([31mCONFIG_KERNFS[0m) += kernfs/
obj-$([31mCONFIG_SYSFS[0m) += sysfs/
obj-$([31mCONFIG_CONFIGFS_FS[0m) += configfs/
obj-y += devpts/
obj-$([31mCONFIG_PROFILING[0m) += dcookies.o
obj-$([31mCONFIG_DLM[0m) += dlm/
# Do not add any filesystems before this line
obj-$([31mCONFIG_FSCACHE[0m) += fscache/
obj-$([31mCONFIG_REISERFS_FS[0m) += reiserfs/
obj-$([31mCONFIG_EXT4_FS[0m) += ext4/
# We place ext4 before ext2 so that clean ext3 root fs's do NOT mount using the
# ext2 driver, which doesn't know about journalling! Explicitly request ext2
# by giving the rootfstype= parameter.
obj-$([31mCONFIG_EXT2_FS[0m) += ext2/
obj-$([31mCONFIG_JBD2[0m) += jbd2/
obj-$([31mCONFIG_CRAMFS[0m) += cramfs/
obj-$([31mCONFIG_SQUASHFS[0m) += squashfs/
obj-y += ramfs/
obj-$([31mCONFIG_HUGETLBFS[0m) += hugetlbfs/
obj-$([31mCONFIG_CODA_FS[0m) += coda/
obj-$([31mCONFIG_MINIX_FS[0m) += minix/
obj-$([31mCONFIG_FAT_FS[0m) += fat/
obj-$([31mCONFIG_BFS_FS[0m) += bfs/
obj-$([31mCONFIG_ISO9660_FS[0m) += isofs/
obj-$([31mCONFIG_HFSPLUS_FS[0m) += hfsplus/ # Before hfs to find wrapped HFS+
obj-$([31mCONFIG_HFS_FS[0m) += hfs/
obj-$([31mCONFIG_ECRYPT_FS[0m) += ecryptfs/
obj-$([31mCONFIG_VXFS_FS[0m) += freevxfs/
obj-$([31mCONFIG_NFS_FS[0m) += nfs/
obj-$([31mCONFIG_EXPORTFS[0m) += exportfs/
obj-$([31mCONFIG_NFSD[0m) += nfsd/
obj-$([31mCONFIG_LOCKD[0m) += lockd/
obj-$([31mCONFIG_NLS[0m) += nls/
obj-$([31mCONFIG_SYSV_FS[0m) += sysv/
obj-$([31mCONFIG_CIFS[0m) += cifs/
obj-$([31mCONFIG_NCP_FS[0m) += ncpfs/
obj-$([31mCONFIG_HPFS_FS[0m) += hpfs/
obj-$([31mCONFIG_NTFS_FS[0m) += ntfs/
obj-$([31mCONFIG_UFS_FS[0m) += ufs/
obj-$([31mCONFIG_EFS_FS[0m) += efs/
obj-$([31mCONFIG_JFFS2_FS[0m) += jffs2/
obj-$([31mCONFIG_UBIFS_FS[0m) += ubifs/
obj-$([31mCONFIG_AFFS_FS[0m) += affs/
obj-$([31mCONFIG_ROMFS_FS[0m) += romfs/
obj-$([31mCONFIG_QNX4FS_FS[0m) += qnx4/
obj-$([31mCONFIG_QNX6FS_FS[0m) += qnx6/
obj-$([31mCONFIG_AUTOFS4_FS[0m) += autofs4/
obj-$([31mCONFIG_ADFS_FS[0m) += adfs/
obj-$([31mCONFIG_FUSE_FS[0m) += fuse/
obj-$([31mCONFIG_OVERLAY_FS[0m) += overlayfs/
obj-$([31mCONFIG_ORANGEFS_FS[0m) += orangefs/
obj-$([31mCONFIG_UDF_FS[0m) += udf/
obj-$([31mCONFIG_SUN_OPENPROMFS[0m) += openpromfs/
obj-$([31mCONFIG_OMFS_FS[0m) += omfs/
obj-$([31mCONFIG_JFS_FS[0m) += jfs/
obj-$([31mCONFIG_XFS_FS[0m) += xfs/
obj-$([31mCONFIG_9P_FS[0m) += 9p/
obj-$([31mCONFIG_AFS_FS[0m) += afs/
obj-$([31mCONFIG_NILFS2_FS[0m) += nilfs2/
obj-$([31mCONFIG_BEFS_FS[0m) += befs/
obj-$([31mCONFIG_HOSTFS[0m) += hostfs/
obj-$([31mCONFIG_CACHEFILES[0m) += cachefiles/
obj-$([31mCONFIG_DEBUG_FS[0m) += debugfs/
obj-$([31mCONFIG_TRACING[0m) += tracefs/
obj-$([31mCONFIG_OCFS2_FS[0m) += ocfs2/
obj-$([31mCONFIG_BTRFS_FS[0m) += btrfs/
obj-$([31mCONFIG_GFS2_FS[0m) += gfs2/
obj-$([31mCONFIG_F2FS_FS[0m) += f2fs/
obj-y += exofs/ # Multiple modules
obj-$([31mCONFIG_CEPH_FS[0m) += ceph/
obj-$([31mCONFIG_PSTORE[0m) += pstore/
obj-$([31mCONFIG_EFIVAR_FS[0m) += efivarfs/