xref: /linux/fs/ext2/Makefile (revision ae22a94997b8a03dcb3c922857c203246711f9d4)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the linux ext2-filesystem routines.
4#
5
6obj-$(CONFIG_EXT2_FS) += ext2.o
7
8ext2-y := balloc.o dir.o file.o ialloc.o inode.o \
9	  ioctl.o namei.o super.o symlink.o trace.o
10
11# For tracepoints to include our trace.h from tracepoint infrastructure
12CFLAGS_trace.o := -I$(src)
13
14ext2-$(CONFIG_EXT2_FS_XATTR)	 += xattr.o xattr_user.o xattr_trusted.o
15ext2-$(CONFIG_EXT2_FS_POSIX_ACL) += acl.o
16ext2-$(CONFIG_EXT2_FS_SECURITY)	 += xattr_security.o
17