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

« back to all changes in this revision

Viewing changes to debian/conf.mk

  • Committer: Bazaar Package Importer
  • Author(s): Julian Andres Klode
  • Date: 2008-08-21 14:58:54 UTC
  • mfrom: (1.1.8 upstream) (4.1.1 lenny)
  • Revision ID: james.westby@ubuntu.com-20080821145854-4b49x09r4zmvlk5o
Tags: 0+20080719-4
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:
21
21
# Disable sysaufs on ARM, as there is no cmpxchg
22
22
ifneq ($(shell dpkg-architecture -qDEB_BUILD_ARCH),arm)
23
23
 ifneq ($(shell dpkg-architecture -qDEB_BUILD_ARCH),armel)
24
 
  ifeq "y" "$(shell test $(SUBLEVEL) -ge 25 && echo y)"
25
 
   export CONFIG_AUFS_STAT = y
26
 
   export EXTRA_CFLAGS        += -DCONFIG_AUFS_STAT
27
 
  else
28
 
   export CONFIG_AUFS_SYSAUFS  = y
29
 
   export EXTRA_CFLAGS        += -DCONFIG_AUFS_SYSAUFS
 
24
  ifdef SUBLEVEL
 
25
   ifeq "y" "$(shell test $(SUBLEVEL) -ge 25 && echo y)"
 
26
    export CONFIG_AUFS_STAT = y
 
27
    export EXTRA_CFLAGS        += -DCONFIG_AUFS_STAT
 
28
   else
 
29
    export CONFIG_AUFS_SYSAUFS  = y
 
30
    export EXTRA_CFLAGS        += -DCONFIG_AUFS_SYSAUFS
 
31
   endif
30
32
  endif
31
33
 endif
32
34
endif
33
35
 
 
36
 
34
37
ifdef SUBLEVEL
35
38
 ifeq "y" "$(shell test $(SUBLEVEL) -ge 23 && echo y)"
36
39
  export EXTRA_CFLAGS += -DCONFIG_AUFS_SPLICE_PATCH
38
41
endif
39
42
 
40
43
ifneq (,$(srctree))
41
 
 ifeq "y" "$(shell test $(SUBLEVEL) -lt 22 && echo y)"
42
 
  $(eval $(call exported,ksize,CONFIG_AUFS_KSIZE_PATCH)) #ksize
 
44
 ifdef SUBLEVEL
 
45
  ifeq "y" "$(shell test $(SUBLEVEL) -lt 22 && echo y)"
 
46
   $(eval $(call exported,ksize,CONFIG_AUFS_KSIZE_PATCH)) #ksize
 
47
  endif
43
48
 endif
44
49
 $(eval $(call exported,__lookup_hash,CONFIG_AUFS_LHASH_PATCH)) #lhash
45
50
 $(eval $(call exported,put_filp,CONFIG_AUFS_PUT_FILP_PATCH)) #put_filp
50
55
# If lhash and put_filp are not available, activate FAKE_DM.
51
56
ifndef CONFIG_AUFS_PUT_FILP_PATCH
52
57
 ifndef CONFIG_AUFS_LHASH_PATCH
53
 
  ifeq "y" "$(shell test $(SUBLEVEL) -lt 24 && echo y)"
54
 
   export CONFIG_AUFS_FAKE_DM  = y
55
 
   export EXTRA_CFLAGS        += -DCONFIG_AUFS_FAKE_DM
 
58
  ifdef SUBLEVEL
 
59
   ifeq "y" "$(shell test $(SUBLEVEL) -lt 24 && echo y)"
 
60
    export CONFIG_AUFS_FAKE_DM  = y
 
61
    export EXTRA_CFLAGS        += -DCONFIG_AUFS_FAKE_DM
 
62
   endif
56
63
  endif
57
64
 endif
58
65
endif
59
66
 
 
67
 
 
68
 
 
69
ifdef CONFIG_ALPHA
 
70
 CONFIG_AUFS_INO_T_64 =
 
71
else ifdef CONFIG_S390
 
72
 CONFIG_AUFS_INO_T_64 =
 
73
else ifdef CONFIG_64BIT
 
74
 export CONFIG_AUFS_INO_T_64 = y
 
75
 export EXTRA_CFLAGS += -DCONFIG_AUFS_INO_T_64
 
76
endif
 
77
 
 
78
ifdef CONFIG_EXPORTFS
 
79
 export CONFIG_AUFS_EXPORT = y
 
80
 export EXTRA_CFLAGS      += -DCONFIG_AUFS_EXPORT
 
81
endif
 
82
 
60
83
ifdef CONFIG_AUFS_LHASH_PATCH
61
84
 ifdef CONFIG_NFS_FS
62
85
  export CONFIG_AUFS_BR_NFS = y
65
88
endif
66
89
 
67
90
ifdef CONFIG_XFS_FS
68
 
 ifeq "t" "$(shell test ${SUBLEVEL} -ge 24 && echo t)"
69
 
  export CONFIG_AUFS_BR_XFS = y
70
 
  export EXTRA_CFLAGS        += -DCONFIG_AUFS_BR_XFS
 
91
 ifdef SUBLEVEL
 
92
  ifeq "t" "$(shell test ${SUBLEVEL} -ge 24 && echo t)"
 
93
   export CONFIG_AUFS_BR_XFS = y
 
94
   export EXTRA_CFLAGS        += -DCONFIG_AUFS_BR_XFS
 
95
  endif
71
96
 endif
72
97
endif