GIT: unionfs2-2.6.27.y: Unionfs: allow users to override Makefile options in fs/unionfs/local.mk

Erez Zadok ezk at fsl.cs.sunysb.edu
Thu Aug 12 23:16:28 EDT 2010


commit 0846693f228838b26fa85edacd0d1276d14d9337
Author: Erez_Zadok <ezk at cs.sunysb.edu>
Date:   Fri May 25 22:36:13 2007 -0400

    Unionfs: allow users to override Makefile options in fs/unionfs/local.mk
    
    Signed-off-by: Erez Zadok <ezk at cs.sunysb.edu>

diff --git a/fs/unionfs/Makefile b/fs/unionfs/Makefile
index 883427c..7c18a3c 100644
--- a/fs/unionfs/Makefile
+++ b/fs/unionfs/Makefile
@@ -8,8 +8,12 @@ unionfs-y := subr.o dentry.o file.o inode.o main.o super.o \
 unionfs-$(CONFIG_UNION_FS_XATTR) += xattr.o
 
 # If you want debugging output, please uncomment the following line
+# or put your options in a separate file in linux-x.y.z/fs/unionfs/local.mk
 #CONFIG_UNIONFS_DEBUG=y
 
+# Allow users to override debug options in a separate file
+-include fs/unionfs/local.mk
+
 ifeq ($(CONFIG_UNIONFS_DEBUG),y)
 unionfs-y += debug.o
 EXTRA_CFLAGS += -DUNIONFS_DEBUG=1


More information about the unionfs-cvs mailing list