Makefile 817 Bytes
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
-include ${srctree}/${src}/priv_def.mk

J. R. Okajima's avatar
J. R. Okajima committed
6
7
8
# cf. include/linux/kernel.h
# enable pr_debug
ccflags-y += -DDEBUG
J. R. Okajima's avatar
J. R. Okajima committed
9
10
11
12
# sparse requires the full pathname
ccflags-y += -include ${srctree}/include/uapi/linux/aufs_type.h

obj-$(CONFIG_AUFS_FS) += aufs.o
J. R. Okajima's avatar
J. R. Okajima committed
13
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
14
	wkq.o vfsub.o dcsub.o \
15
	cpup.o whout.o wbr_policy.o \
16
	dinfo.o dentry.o \
17
	dynop.o \
J. R. Okajima's avatar
J. R. Okajima committed
18
	finfo.o file.o \
19
	dir.o vdir.o \
20
	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
21
22

# all are boolean
23
aufs-$(CONFIG_PROC_FS) += procfs.o plink.o
J. R. Okajima's avatar
J. R. Okajima committed
24
aufs-$(CONFIG_SYSFS) += sysfs.o
J. R. Okajima's avatar
J. R. Okajima committed
25
26
aufs-$(CONFIG_AUFS_HNOTIFY) += hnotify.o
aufs-$(CONFIG_AUFS_HFSNOTIFY) += hfsnotify.o
J. R. Okajima's avatar
J. R. Okajima committed
27
aufs-$(CONFIG_AUFS_EXPORT) += export.o
J. R. Okajima's avatar
J. R. Okajima committed
28
aufs-$(CONFIG_AUFS_DEBUG) += debug.o