From: Tracey Dent Date: Fri, 8 Oct 2010 00:01:44 +0000 (-0400) Subject: Staging: smbfs: Makefile: Makefile clean up X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=50662062428aee9303e543a70e60a26ed9ee823b;p=linux-beck.git Staging: smbfs: Makefile: Makefile clean up Changed -objs to -y in Makefile. Also Replace EXTRA_CFLAGS with ccflags-y. Signed-off-by: Tracey Dent Signed-off-by: Greg Kroah-Hartman --- 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