~ubuntu-branches/ubuntu/utopic/aufs/utopic

« back to all changes in this revision

Viewing changes to fs/aufs/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Julian Andres Klode
  • Date: 2008-01-30 15:27:04 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20080130152704-uvd64xgdg17ro2s8
Tags: 0+20080129-1
* New upstream snapshot
* 01_vserver_apparmor: Combined patch for vServer and AppArmor Kernels
  - AppArmor kernels have no ia_file, do not use it (LP: #182481)
  - AppArmor patch written by Joerg Schirottke for Kanotix (thank you!)
  - Replaces 01_vserver and 06_ubuntu
* 03_missing_headers: Define the magic numbers for XFS and TMPFS
* 04_sec_perm: Do not use security_inode_permission with kernel >= 2.6.24
* Inform about available pre-compiled modules in aufs-source description
* conf.mk:
  - Rewrite automatic configuration part, define a function and call it
  - Activate the AUFS_FAKE_DM only if the lhash patch has not been applied

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
# AUFS Makefile for the Linux 2.6.16 and later
2
 
# $Id: Makefile,v 1.38 2007/12/03 01:37:15 sfjro Exp $
 
2
# $Id: Makefile,v 1.39 2007/12/17 03:30:17 sfjro Exp $
3
3
 
4
4
# the environment variables are not inherited since 2.6.23
5
5
ifdef AUFS_EXTRA_CFLAGS
24
24
EXTRA_CFLAGS += -DFUSE_SUPER_MAGIC=${fuse}
25
25
endif
26
26
 
 
27
ifeq ($(strip $(shell test ${SUBLEVEL} -ge 24 && echo t)),t)
 
28
ifdef CONFIG_XFS_FS
 
29
# it isn't defined in a header file
 
30
xfs = $(shell grep '\#.*define.*XFS_SB_MAGIC' ${srctree}/fs/xfs/xfs_sb.h | \
 
31
        head -n 1 | \
 
32
        awk '{print $$3}')
 
33
EXTRA_CFLAGS += -DXFS_SB_MAGIC=${xfs}
 
34
endif
 
35
endif
 
36
 
27
37
ifdef CONFIG_TMPFS
28
38
# it isn't defined in a header file
29
39
tmpfs = $(shell grep '\#.*define.*TMPFS_MAGIC' ${srctree}/mm/shmem.c | \