summaryrefslogtreecommitdiffstats
path: root/drivers/staging/smbfs
diff options
context:
space:
mode:
authorTracey Dent2010-10-08 02:01:44 +0200
committerGreg Kroah-Hartman2010-10-08 16:23:44 +0200
commit50662062428aee9303e543a70e60a26ed9ee823b (patch)
treea1b791153109331327fce54b1fddcf192f3411e1 /drivers/staging/smbfs
parentStaging: keucr: Makefile: Makefile clean up (diff)
downloadkernel-qcow2-linux-50662062428aee9303e543a70e60a26ed9ee823b.tar.gz
kernel-qcow2-linux-50662062428aee9303e543a70e60a26ed9ee823b.tar.xz
kernel-qcow2-linux-50662062428aee9303e543a70e60a26ed9ee823b.zip
Staging: smbfs: Makefile: Makefile clean up
Changed <module>-objs to <module>-y in Makefile. Also Replace EXTRA_CFLAGS with ccflags-y. Signed-off-by: Tracey Dent <tdent48227@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/smbfs')
-rw-r--r--drivers/staging/smbfs/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/staging/smbfs/Makefile b/drivers/staging/smbfs/Makefile
index 4faf8c4722c3..d2a92c5cb119 100644
--- a/drivers/staging/smbfs/Makefile
+++ b/drivers/staging/smbfs/Makefile
@@ -4,15 +4,15 @@
obj-$(CONFIG_SMB_FS) += smbfs.o
-smbfs-objs := proc.o dir.o cache.o sock.o inode.o file.o ioctl.o getopt.o \
+smbfs-y := proc.o dir.o cache.o sock.o inode.o file.o ioctl.o getopt.o \
symlink.o smbiod.o request.o
# If you want debugging output, you may add these flags to the EXTRA_CFLAGS
# SMBFS_PARANOIA should normally be enabled.
-EXTRA_CFLAGS += -DSMBFS_PARANOIA
-#EXTRA_CFLAGS += -DSMBFS_DEBUG
-#EXTRA_CFLAGS += -DSMBFS_DEBUG_VERBOSE
-#EXTRA_CFLAGS += -DDEBUG_SMB_TIMESTAMP
-#EXTRA_CFLAGS += -Werror
+ccflags-y := -DSMBFS_PARANOIA
+#ccflags-y += -DSMBFS_DEBUG
+#ccflags-y += -DSMBFS_DEBUG_VERBOSE
+#ccflags-y += -DDEBUG_SMB_TIMESTAMP
+#ccflags-y += -Werror