Skip to content

Commit

Permalink
rapidio: change to new flag variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
matt mooney authored and Michal Marek committed Mar 17, 2011
1 parent 26a082d commit 4ebdd58
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
4 changes: 1 addition & 3 deletions drivers/rapidio/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,4 @@ obj-y += rio.o rio-access.o rio-driver.o rio-scan.o rio-sysfs.o

obj-$(CONFIG_RAPIDIO) += switches/

ifeq ($(CONFIG_RAPIDIO_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif
subdir-ccflags-$(CONFIG_RAPIDIO_DEBUG) := -DDEBUG
4 changes: 0 additions & 4 deletions drivers/rapidio/switches/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,3 @@ obj-$(CONFIG_RAPIDIO_CPS_XX) += idtcps.o
obj-$(CONFIG_RAPIDIO_TSI568) += tsi568.o
obj-$(CONFIG_RAPIDIO_TSI500) += tsi500.o
obj-$(CONFIG_RAPIDIO_CPS_GEN2) += idt_gen2.o

ifeq ($(CONFIG_RAPIDIO_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif

0 comments on commit 4ebdd58

Please sign in to comment.