xref: /openbmc/linux/fs/ext2/Makefile (revision 2a598d0b)
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