diff options
author | matt mooney <mfm@muteddisk.com> | 2011-01-14 06:12:47 -0800 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-03-17 14:05:35 +0100 |
commit | 4ebdd58f46d305c2ab382b6193d4ed0cd201b0dc (patch) | |
tree | e19571d34c44357029709ea0a848d139971e033d /drivers/rapidio/Makefile | |
parent | 26a082dc5334ee003167bb9feeee681c150e5b11 (diff) | |
download | linux-4ebdd58f46d305c2ab382b6193d4ed0cd201b0dc.tar.bz2 |
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>
Diffstat (limited to 'drivers/rapidio/Makefile')
-rw-r--r-- | drivers/rapidio/Makefile | 4 |
1 files changed, 1 insertions, 3 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 obj-$(CONFIG_RAPIDIO) += switches/ -ifeq ($(CONFIG_RAPIDIO_DEBUG),y) -EXTRA_CFLAGS += -DDEBUG -endif +subdir-ccflags-$(CONFIG_RAPIDIO_DEBUG) := -DDEBUG |