aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/tcm_fc
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2011-05-27 16:34:20 -0400
committerNicholas Bellinger <nab@linux-iscsi.org>2011-07-22 05:37:47 -0400
commita1fa3759583ef2379da6e2cc346ee9f99dfba309 (patch)
tree3878c51563d8847a51ad5b7ae3c612e9ebdca916 /drivers/target/tcm_fc
parenta57b5d36453cc9335f75ae191ffd682a250d08ba (diff)
tcm_fc: Makefile cleanups
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>
Diffstat (limited to 'drivers/target/tcm_fc')
-rw-r--r--drivers/target/tcm_fc/Makefile17
1 files changed, 4 insertions, 13 deletions
diff --git a/drivers/target/tcm_fc/Makefile b/drivers/target/tcm_fc/Makefile
index 7a5c2b64cf65..20b14bb087c9 100644
--- a/drivers/target/tcm_fc/Makefile
+++ b/drivers/target/tcm_fc/Makefile
@@ -1,15 +1,6 @@
1EXTRA_CFLAGS += -I$(srctree)/drivers/target/ \ 1tcm_fc-y += tfc_cmd.o \
2 -I$(srctree)/drivers/scsi/ \ 2 tfc_conf.o \
3 -I$(srctree)/include/scsi/ \ 3 tfc_io.o \
4 -I$(srctree)/drivers/target/tcm_fc/ 4 tfc_sess.o
5
6tcm_fc-y += tfc_cmd.o \
7 tfc_conf.o \
8 tfc_io.o \
9 tfc_sess.o
10 5
11obj-$(CONFIG_TCM_FC) += tcm_fc.o 6obj-$(CONFIG_TCM_FC) += tcm_fc.o
12
13ifdef CONFIGFS_TCM_FC_DEBUG
14EXTRA_CFLAGS += -DTCM_FC_DEBUG
15endif