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