btrfs: tiny makefile cleanup
authorChristoph Hellwig <hch@lst.de>
Tue, 10 Jun 2008 14:20:57 +0000 (10:20 -0400)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:03 +0000 (11:04 -0400)
use normal kbuild syntax to build acl.o conditinally and remove comment
out lines.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/Makefile

index 5ac6f29..e5fc3cf 100644 (file)
@@ -8,13 +8,7 @@ btrfs-y := super.o ctree.o extent-tree.o print-tree.o root-tree.o dir-item.o \
           extent_map.o sysfs.o struct-funcs.o xattr.o ordered-data.o \
           extent_io.o volumes.o
 
-ifeq ($(CONFIG_FS_POSIX_ACL),y)
-btrfs-y += acl.o
-endif
-#btrfs-y := ctree.o disk-io.o radix-tree.o extent-tree.o print-tree.o \
-#        root-tree.o dir-item.o hash.o file-item.o inode-item.o \
-#        inode-map.o \
-
+btrfs-$(CONFIG_FS_POSIX_ACL)   += acl.o
 else
 
 # Normal Makefile