1 # SPDX-License-Identifier: GPL-2.0
3 obj-
$(CONFIG_BTRFS_FS
) := btrfs.o
5 btrfs-y
+= super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \
6 file-item.o inode-item.o disk-io.o \
7 transaction.o inode.o file.o tree-defrag.o \
8 extent_map.o sysfs.o struct-funcs.o xattr.o ordered-data.o \
9 extent_io.o volumes.o async-thread.o ioctl.o locking.o orphan.o \
10 export.o tree-log.o free-space-cache.o zlib.o lzo.o zstd.o \
11 compression.o delayed-ref.o relocation.o delayed-inode.o scrub.o \
12 reada.o backref.o ulist.o qgroup.o send.o dev-replace.o raid56.o \
13 uuid-tree.o props.o free-space-tree.o tree-checker.o space-info.o \
14 block-rsv.o delalloc-space.o block-group.o discard.o reflink.o
16 btrfs-
$(CONFIG_BTRFS_FS_POSIX_ACL
) += acl.o
17 btrfs-
$(CONFIG_BTRFS_FS_CHECK_INTEGRITY
) += check-integrity.o
18 btrfs-
$(CONFIG_BTRFS_FS_REF_VERIFY
) += ref-verify.o
19 btrfs-
$(CONFIG_BLK_DEV_ZONED
) += zoned.o
21 btrfs-
$(CONFIG_BTRFS_FS_RUN_SANITY_TESTS
) += tests
/free-space-tests.o \
22 tests
/extent-buffer-tests.o tests
/btrfs-tests.o \
23 tests
/extent-io-tests.o tests
/inode-tests.o tests
/qgroup-tests.o \
24 tests
/free-space-tree-tests.o tests
/extent-map-tests.o