1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the linux ext4-filesystem routines.
6 obj-
$(CONFIG_EXT4_FS
) += ext4.o
8 ext4-y
:= balloc.o bitmap.o block_validity.o
dir.o ext4_jbd2.o extents.o \
9 extents_status.o file.o fsmap.o fsync.o hash.o ialloc.o \
10 indirect.o inline.o inode.o ioctl.o mballoc.o migrate.o \
11 mmp.o move_extent.o namei.o page-io.o readpage.o resize.o \
12 super.o symlink.o sysfs.o xattr.o xattr_hurd.o xattr_trusted.o \
13 xattr_user.o fast_commit.o orphan.o
15 ext4-
$(CONFIG_EXT4_FS_POSIX_ACL
) += acl.o
16 ext4-
$(CONFIG_EXT4_FS_SECURITY
) += xattr_security.o
17 ext4-inode-test-objs
+= inode-test.o
18 obj-
$(CONFIG_EXT4_KUNIT_TESTS
) += ext4-inode-test.o
19 ext4-
$(CONFIG_FS_VERITY
) += verity.o
20 ext4-
$(CONFIG_FS_ENCRYPTION
) += crypto.o