forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
26a082dc53
commit
4ebdd58f46
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user