tcm_fc: Makefile cleanups
authorNicholas Bellinger <nab@linux-iscsi.org>
Fri, 27 May 2011 20:34:20 +0000 (13:34 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Fri, 22 Jul 2011 09:37:47 +0000 (09:37 +0000)
This patch removes the unnecessary EXTRA_CFLAGS includes, and drops the
unused -DTCM_FC_DEBUG define.

Reported-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Nicholas A. Bellinger <nab@linux-iscsi.org>
drivers/target/tcm_fc/Makefile

index 7a5c2b64cf65e208cf6c9061e75891f8e101bf33..20b14bb087c95f9924db6bab384cc48f6d5dfa8a 100644 (file)
@@ -1,15 +1,6 @@
-EXTRA_CFLAGS += -I$(srctree)/drivers/target/ \
-               -I$(srctree)/drivers/scsi/ \
-               -I$(srctree)/include/scsi/ \
-               -I$(srctree)/drivers/target/tcm_fc/
-
-tcm_fc-y +=    tfc_cmd.o \
-               tfc_conf.o \
-               tfc_io.o \
-               tfc_sess.o
+tcm_fc-y +=            tfc_cmd.o \
+                       tfc_conf.o \
+                       tfc_io.o \
+                       tfc_sess.o
 
 obj-$(CONFIG_TCM_FC)   += tcm_fc.o
-
-ifdef CONFIGFS_TCM_FC_DEBUG
-EXTRA_CFLAGS   += -DTCM_FC_DEBUG
-endif