mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2026-05-09 21:42:09 +02:00
9e1b14320b
Now, only EXT4_KUNIT_TESTS=Y testcase will be compiled in 'extents.c'.
To solve this issue, the ext4 test code needs to be decoupled. The
'extents-test' module is compiled into 'ext4-test' module.
Fixes: cb1e0c1d1f ("ext4: kunit tests for extent splitting and conversion")
Signed-off-by: Ye Bin <yebin10@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20260314075258.1317579-4-yebin@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
22 lines
783 B
Makefile
22 lines
783 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# Makefile for the linux ext4-filesystem routines.
|
|
#
|
|
|
|
obj-$(CONFIG_EXT4_FS) += ext4.o
|
|
|
|
ext4-y := balloc.o bitmap.o block_validity.o dir.o ext4_jbd2.o extents.o \
|
|
extents_status.o file.o fsmap.o fsync.o hash.o ialloc.o \
|
|
indirect.o inline.o inode.o ioctl.o mballoc.o migrate.o \
|
|
mmp.o move_extent.o namei.o page-io.o readpage.o resize.o \
|
|
super.o symlink.o sysfs.o xattr.o xattr_hurd.o xattr_trusted.o \
|
|
xattr_user.o fast_commit.o orphan.o
|
|
|
|
ext4-$(CONFIG_EXT4_FS_POSIX_ACL) += acl.o
|
|
ext4-$(CONFIG_EXT4_FS_SECURITY) += xattr_security.o
|
|
ext4-test-objs += inode-test.o mballoc-test.o \
|
|
extents-test.o
|
|
obj-$(CONFIG_EXT4_KUNIT_TESTS) += ext4-test.o
|
|
ext4-$(CONFIG_FS_VERITY) += verity.o
|
|
ext4-$(CONFIG_FS_ENCRYPTION) += crypto.o
|