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

« back to all changes in this revision

Viewing changes to local.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:
1
1
 
2
 
# $Id: local.mk,v 1.61 2008/06/02 02:33:57 sfjro Exp $
 
2
# $Id: local.mk,v 1.63 2008/07/14 00:13:19 sfjro Exp $
3
3
 
4
4
KDIR = /lib/modules/$(shell uname -r)/build
5
5
SUBLEVEL = $(shell ${MAKE} -s -C ${KDIR} kernelversion | cut -f3 -d. | cut -f1 -d-)
114
114
endif
115
115
endif
116
116
 
 
117
ifeq "t" "$(shell test ${SUBLEVEL} -ge 23 && echo t)"
 
118
ifdef CONFIG_AUFS_UNIONFS23_PATCH
 
119
CONFIG_AUFS_SPLICE_PATCH = y
 
120
endif
 
121
endif
 
122
 
117
123
########################################
118
124
 
119
125
define conf
183
189
aufs.ko: ${TgtPath}/aufs.ko
184
190
        test ! -e $@ && ln -s $< $@ || :
185
191
${TgtPath}/aufs.ko: FORCE
186
 
#       @echo ${AUFS_DEF_CONFIG}
187
192
        @echo ${TgtPath}
188
193
        ${MAKE} -C ${KDIR} M=${CURDIR}/${TgtPath} modules
189
194
 
194
199
kconfig: ${TgtPath}/Kconfig
195
200
        @echo copy ./${TgtPath} as fs/aufs and ./include to your linux kernel source tree.
196
201
        @echo add \'obj-\$$\(CONFIG_AUFS\) += aufs/\' to linux/fs/Makefile.
197
 
        @echo add \'source \"${TgtPath}/Kconfig\"\' to linux/fs/Kconfig.
 
202
        @echo add \'source \"aufs/Kconfig\"\' to linux/fs/Kconfig.
198
203
        @echo then, try \'make menuconfig\' and go to Filesystem menu.
199
204
        @echo when you upgrade your kernel source,
200
205
        @echo you need to re-run make $@ to re-build ${TgtPath}/Kconfig.