~ubuntu-branches/ubuntu/vivid/aufs/vivid

« back to all changes in this revision

Viewing changes to fs/aufs25/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Julian Andres Klode
  • Date: 2008-08-21 14:58:54 UTC
  • mfrom: (1.2.1 upstream) (11 intrepid)
  • mto: This revision was merged to the branch mainline in revision 12.
  • Revision ID: james.westby@ubuntu.com-20080821145854-6erljbzg007r476y
01_vserver_apparmor.dpatch: [UPDATE] Disable vserver patches on kernel 
2.6.26, because they are not needed anymore. (Closes: #495921)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# AUFS Makefile for the Linux 2.6.25 and later
 
2
# $Id: Makefile,v 1.6 2008/07/14 00:13:35 sfjro Exp $
 
3
 
 
4
# the environment variables are not inherited since 2.6.23
 
5
ifdef AUFS_EXTRA_CFLAGS
 
6
ccflags-y += ${AUFS_EXTRA_CFLAGS}
 
7
endif
 
8
 
 
9
########################################
 
10
 
 
11
ifdef CONFIG_AUFS_RR_SQUASHFS
 
12
# cf. squashfs3.2-r2 and sqlzma patch.
 
13
ccflags-y += -DSQUASHFS_MAGIC=0x73717368
 
14
ccflags-y += -DSQUASHFS_MAGIC_SWAP=0x68737173
 
15
ccflags-y += -DSQUASHFS_MAGIC_LZMA=0x71736873
 
16
ccflags-y += -DSQUASHFS_MAGIC_LZMA_SWAP=0x73687371
 
17
endif
 
18
 
 
19
# defined in ${srctree}/fs/fuse/inode.c
 
20
ccflags-$(CONFIG_AUFS_WORKAROUND_FUSE) += -DFUSE_SUPER_MAGIC=0x65735546
 
21
 
 
22
# defined in ${srctree}/fs/xfs/xfs_sb.h
 
23
# tristate
 
24
ifdef CONFIG_XFS_FS
 
25
ccflags-y += -DXFS_SB_MAGIC=0x58465342
 
26
endif
 
27
 
 
28
# defined in ${srctree}/mm/shmem.c
 
29
# tristate
 
30
ifdef CONFIG_TMPFS
 
31
ccflags-y += -DTMPFS_MAGIC=0x01021994
 
32
endif
 
33
 
 
34
# defined in ${srctree}fs/sysfs/mount.c
 
35
# bool
 
36
ccflags-$(CONFIG_SYSFS) += -DSYSFS_MAGIC=0x62656572
 
37
 
 
38
ifndef EXTRAVERSION
 
39
EXTRAVERSION = $(shell echo ${KERNELVERSION} | cut -f3- -d. | cut -f2- -d-)
 
40
endif
 
41
# for -mm tree, support the latest version only
 
42
ifneq ($(strip $(shell echo ${EXTRAVERSION} | fgrep -- mm)),)
 
43
ccflags-y += -DCONFIG_AUFS_UNIONFS22_PATCH -DCONFIG_AUFS_UNIONFS23_PATCH
 
44
endif
 
45
 
 
46
-include $(dir $(lastword ${MAKEFILE_LIST}))priv.mk
 
47
#$(warning ${ccflags-y})
 
48
 
 
49
########################################
 
50
 
 
51
obj-$(CONFIG_AUFS) += aufs.o
 
52
aufs-y := module.o super.o sbinfo.o branch.o xino.o sysaufs.o opts.o \
 
53
        wkq.o vfsub.o dcsub.o \
 
54
        cpup.o whout.o plink.o wbr_policy.o \
 
55
        dentry.o dinfo.o \
 
56
        file.o f_op.o finfo.o \
 
57
        dir.o vdir.o \
 
58
        inode.o i_op.o i_op_add.o i_op_del.o i_op_ren.o iinfo.o \
 
59
        misc.o
 
60
 
 
61
aufs-$(CONFIG_SYSFS) += sysfs.o
 
62
aufs-$(CONFIG_AUFS_BR_NFS) += br_nfs.o
 
63
aufs-$(CONFIG_AUFS_BR_XFS) += br_xfs.o
 
64
aufs-$(CONFIG_AUFS_WORKAROUND_FUSE) += br_fuse.o
 
65
aufs-$(CONFIG_AUFS_DLGT) += dlgt.o
 
66
aufs-$(CONFIG_AUFS_HINOTIFY) += hinotify.o
 
67
aufs-$(CONFIG_AUFS_HIN_OR_DLGT) += hin_or_dlgt.o
 
68
aufs-$(CONFIG_AUFS_EXPORT) += export.o
 
69
aufs-$(CONFIG_AUFS_ROBR) += robr.o
 
70
# reserved for future use
 
71
#aufs-$(CONFIG_AUFS_XATTR) += xattr.o
 
72
aufs-$(CONFIG_AUFS_DEBUG) += debug.o
 
73
aufs-$(CONFIG_AUFS_MAGIC_SYSRQ) += sysrq.o