Btrfs: Add run time btree defrag, and an ioctl to force btree defrag
[linux-2.6-block.git] / fs / btrfs / Makefile
CommitLineData
2e635a27
CM
1ifneq ($(KERNELRELEASE),)
2# kbuild part of makefile
eb60ceac 3
2e635a27 4obj-m := btrfs.o
e20d96d6 5btrfs-y := super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \
8ef97622 6 hash.o file-item.o inode-item.o inode-map.o disk-io.o \
6702ed49 7 transaction.o bit-radix.o inode.o file.o tree-defrag.o
af86d07e 8
2e635a27
CM
9#btrfs-y := ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o \
10# root-tree.o dir-item.o hash.o file-item.o inode-item.o \
11# inode-map.o \
eb60ceac 12
2e635a27 13else
4920c9ac 14
2e635a27 15# Normal Makefile
fec577fb 16
2e635a27
CM
17KERNELDIR := /lib/modules/`uname -r`/build
18all::
39279cc3 19 $(MAKE) -C $(KERNELDIR) M=`pwd` modules
2e635a27 20clean::
8578f0f1 21 $(MAKE) -C $(KERNELDIR) M=`pwd` clean
2e635a27 22endif