GNU Linux-libre 4.19.211-gnu1
[releases.git] / fs / btrfs / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2
3 obj-$(CONFIG_BTRFS_FS) := btrfs.o
4
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 inode-map.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
14
15 btrfs-$(CONFIG_BTRFS_FS_POSIX_ACL) += acl.o
16 btrfs-$(CONFIG_BTRFS_FS_CHECK_INTEGRITY) += check-integrity.o
17 btrfs-$(CONFIG_BTRFS_FS_REF_VERIFY) += ref-verify.o
18
19 btrfs-$(CONFIG_BTRFS_FS_RUN_SANITY_TESTS) += tests/free-space-tests.o \
20         tests/extent-buffer-tests.o tests/btrfs-tests.o \
21         tests/extent-io-tests.o tests/inode-tests.o tests/qgroup-tests.o \
22         tests/free-space-tree-tests.o tests/extent-map-tests.o