diff options
author | matt mooney <mfm@muteddisk.com> | 2011-01-14 09:12:47 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-03-17 09:05:35 -0400 |
commit | 4ebdd58f46d305c2ab382b6193d4ed0cd201b0dc (patch) | |
tree | e19571d34c44357029709ea0a848d139971e033d | |
parent | 26a082dc5334ee003167bb9feeee681c150e5b11 (diff) |
rapidio: change to new flag variable
switches/ depends on RAPIDIO_DEBUG so the subdir-ccflags-y variant
seems to be appropriate here.
Signed-off-by: matt mooney <mfm@muteddisk.com>
Acked-by: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Michal Marek <mmarek@suse.cz>
-rw-r--r-- | drivers/rapidio/Makefile | 4 | ||||
-rw-r--r-- | drivers/rapidio/switches/Makefile | 4 |
2 files changed, 1 insertions, 7 deletions
diff --git a/drivers/rapidio/Makefile b/drivers/rapidio/Makefile index b6139fe187bf..89b8eca825b5 100644 --- a/drivers/rapidio/Makefile +++ b/drivers/rapidio/Makefile | |||
@@ -5,6 +5,4 @@ obj-y += rio.o rio-access.o rio-driver.o rio-scan.o rio-sysfs.o | |||
5 | 5 | ||
6 | obj-$(CONFIG_RAPIDIO) += switches/ | 6 | obj-$(CONFIG_RAPIDIO) += switches/ |
7 | 7 | ||
8 | ifeq ($(CONFIG_RAPIDIO_DEBUG),y) | 8 | subdir-ccflags-$(CONFIG_RAPIDIO_DEBUG) := -DDEBUG |
9 | EXTRA_CFLAGS += -DDEBUG | ||
10 | endif | ||
diff --git a/drivers/rapidio/switches/Makefile b/drivers/rapidio/switches/Makefile index 48d67a6b98c8..c4d3acc3c715 100644 --- a/drivers/rapidio/switches/Makefile +++ b/drivers/rapidio/switches/Makefile | |||
@@ -7,7 +7,3 @@ obj-$(CONFIG_RAPIDIO_CPS_XX) += idtcps.o | |||
7 | obj-$(CONFIG_RAPIDIO_TSI568) += tsi568.o | 7 | obj-$(CONFIG_RAPIDIO_TSI568) += tsi568.o |
8 | obj-$(CONFIG_RAPIDIO_TSI500) += tsi500.o | 8 | obj-$(CONFIG_RAPIDIO_TSI500) += tsi500.o |
9 | obj-$(CONFIG_RAPIDIO_CPS_GEN2) += idt_gen2.o | 9 | obj-$(CONFIG_RAPIDIO_CPS_GEN2) += idt_gen2.o |
10 | |||
11 | ifeq ($(CONFIG_RAPIDIO_DEBUG),y) | ||
12 | EXTRA_CFLAGS += -DDEBUG | ||
13 | endif | ||