Makefile 1.35 KB
Newer Older
J. R. Okajima's avatar
J. R. Okajima committed
1
2
# SPDX-License-Identifier: GPL-2.0

3
include ${srctree}/${src}/magic.mk
J. R. Okajima's avatar
J. R. Okajima committed
4
5
6
ifeq (${CONFIG_AUFS_FS},m)
include ${srctree}/${src}/conf.mk
endif
J. R. Okajima's avatar
J. R. Okajima committed
7
8
-include ${srctree}/${src}/priv_def.mk

J. R. Okajima's avatar
J. R. Okajima committed
9
10
11
# cf. include/linux/kernel.h
# enable pr_debug
ccflags-y += -DDEBUG
J. R. Okajima's avatar
J. R. Okajima committed
12
# sparse requires the full pathname
J. R. Okajima's avatar
J. R. Okajima committed
13
14
15
ifdef M
ccflags-y += -include ${M}/../../include/uapi/linux/aufs_type.h
else
J. R. Okajima's avatar
J. R. Okajima committed
16
ccflags-y += -include ${srctree}/include/uapi/linux/aufs_type.h
J. R. Okajima's avatar
J. R. Okajima committed
17
endif
J. R. Okajima's avatar
J. R. Okajima committed
18
19

obj-$(CONFIG_AUFS_FS) += aufs.o
J. R. Okajima's avatar
J. R. Okajima committed
20
aufs-y := module.o sbinfo.o super.o branch.o xino.o sysaufs.o opts.o \
J. R. Okajima's avatar
J. R. Okajima committed
21
	wkq.o vfsub.o dcsub.o \
22
	cpup.o whout.o wbr_policy.o \
23
	dinfo.o dentry.o \
24
	dynop.o \
J. R. Okajima's avatar
J. R. Okajima committed
25
	finfo.o file.o f_op.o \
26
	dir.o vdir.o \
J. R. Okajima's avatar
J. R. Okajima committed
27
	iinfo.o inode.o i_op.o i_op_add.o i_op_del.o i_op_ren.o \
J. R. Okajima's avatar
J. R. Okajima committed
28
	mvdown.o ioctl.o
J. R. Okajima's avatar
J. R. Okajima committed
29
30

# all are boolean
31
aufs-$(CONFIG_PROC_FS) += procfs.o plink.o
J. R. Okajima's avatar
J. R. Okajima committed
32
aufs-$(CONFIG_SYSFS) += sysfs.o
J. R. Okajima's avatar
J. R. Okajima committed
33
aufs-$(CONFIG_DEBUG_FS) += dbgaufs.o
J. R. Okajima's avatar
J. R. Okajima committed
34
aufs-$(CONFIG_AUFS_BDEV_LOOP) += loop.o
J. R. Okajima's avatar
J. R. Okajima committed
35
36
aufs-$(CONFIG_AUFS_HNOTIFY) += hnotify.o
aufs-$(CONFIG_AUFS_HFSNOTIFY) += hfsnotify.o
J. R. Okajima's avatar
J. R. Okajima committed
37
aufs-$(CONFIG_AUFS_EXPORT) += export.o
J. R. Okajima's avatar
J. R. Okajima committed
38
39
aufs-$(CONFIG_AUFS_XATTR) += xattr.o
aufs-$(CONFIG_FS_POSIX_ACL) += posix_acl.o
40
aufs-$(CONFIG_AUFS_DIRREN) += dirren.o
41
aufs-$(CONFIG_AUFS_FHSM) += fhsm.o
42
aufs-$(CONFIG_AUFS_POLL) += poll.o
43
aufs-$(CONFIG_AUFS_RDU) += rdu.o
J. R. Okajima's avatar
J. R. Okajima committed
44
aufs-$(CONFIG_AUFS_BR_HFSPLUS) += hfsplus.o
J. R. Okajima's avatar
J. R. Okajima committed
45
aufs-$(CONFIG_AUFS_DEBUG) += debug.o
46
aufs-$(CONFIG_AUFS_MAGIC_SYSRQ) += sysrq.o