btrfs_mkdir
[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 \
79154b1b 6 hash.o file-item.o inode-item.o inode-map.o disk-io.o transaction.o
af86d07e 7
2e635a27
CM
8#btrfs-y := ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o \
9# root-tree.o dir-item.o hash.o file-item.o inode-item.o \
10# inode-map.o \
eb60ceac 11
2e635a27 12else
4920c9ac 13
2e635a27 14# Normal Makefile
fec577fb 15
2e635a27
CM
16KERNELDIR := /lib/modules/`uname -r`/build
17all::
e20d96d6 18 $(MAKE) C=1 -C $(KERNELDIR) M=`pwd` modules
2e635a27
CM
19clean::
20 rm *.o btrfs.ko
21endif