summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/Makefile
diff options
context:
space:
mode:
authorDan Robertson <dan@dlrobertson.com>2021-06-05 19:03:16 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-10-22 17:09:05 -0400
commit59e2480ff7360b5c6ecd418aee795a7087a3e8f6 (patch)
tree5e0c7ccb8060fd97ffdd01a1a57d33fc8d458306 /fs/bcachefs/Makefile
parent66a0a49750d77926a6d4b47d7ac1f4904094fb7e (diff)
downloadlinux-stable-59e2480ff7360b5c6ecd418aee795a7087a3e8f6.tar.gz
linux-stable-59e2480ff7360b5c6ecd418aee795a7087a3e8f6.tar.bz2
linux-stable-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