--- a/src/Makefile +++ b/src/Makefile @@ -21 +21 @@ -obj-$(CONFIG_BTRFS_FS) := btrfs.o +obj-m := btrfs.o @@ -35 +35,2 @@ -btrfs-$(CONFIG_BTRFS_FS_POSIX_ACL) += acl.o +btrfs-y += acl.o +ccflags-y += -DCONFIG_BTRFS_FS_POSIX_ACL