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)
committerErez_Zadok <ezk@cs.sunysb.edu>
Mon, 23 Jul 2007 00:50:45 +0000 (20:50 -0400)
Signed-off-by: Erez Zadok <ezk@cs.sunysb.edu>
fs/unionfs/Makefile

index 883427c448d45c3da21dbe583c32113fb856c1df..7c18a3c25754d3fe7ab5b1bd06dcf66c170b3742 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