Unionfs: allow users to override Makefile options in fs/unionfs/local.mk
authorErez_Zadok <ezk@cs.sunysb.edu>
Sat, 26 May 2007 02:36:13 +0000 (22:36 -0400)
committerRachita Kothiyal <rachita@dewey.fsl.cs.sunysb.edu>
Thu, 1 May 2008 23:02:36 +0000 (19:02 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/Makefile

index 0a7c349f7a303cdb5d1e97eb4ed7a3152cd0eb49..dfbde56e048671f47b4dcc15535534c79fde5276 100644 (file)
@@ -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