summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/Makefile
diff options
context:
space:
mode:
authorDan Robertson <dan@dlrobertson.com>2021-06-06 01:03:16 +0200
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 23:09:05 +0200
commit59e2480ff7360b5c6ecd418aee795a7087a3e8f6 (patch)
tree5e0c7ccb8060fd97ffdd01a1a57d33fc8d458306 /fs/bcachefs/Makefile
parentbcachefs: btree_iter->should_be_locked (diff)
downloadlinux-59e2480ff7360b5c6ecd418aee795a7087a3e8f6.tar.xz
linux-59e2480ff7360b5c6ecd418aee795a7087a3e8f6.zip
bcachefs: do not compile acl mod on minimal config
Do not compile the acl.o target if BCACHEFS_POSIX_ACL is not enabled. Signed-off-by: Dan Robertson <dan@dlrobertson.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/Makefile')
-rw-r--r--fs/bcachefs/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/bcachefs/Makefile b/fs/bcachefs/Makefile
index dad2fe2530e5..af3b83f871df 100644
--- a/fs/bcachefs/Makefile
+++ b/fs/bcachefs/Makefile
@@ -2,7 +2,6 @@
obj-$(CONFIG_BCACHEFS_FS) += bcachefs.o
bcachefs-y := \
- acl.o \
alloc_background.o \
alloc_foreground.o \
bkey.o \
@@ -59,3 +58,5 @@ bcachefs-y := \
util.o \
varint.o \
xattr.o
+
+bcachefs-$(CONFIG_BCACHEFS_POSIX_ACL) += acl.o