diff options
-rw-r--r-- | drivers/memstick/Makefile | 4 | ||||
-rw-r--r-- | drivers/memstick/core/Makefile | 4 | ||||
-rw-r--r-- | drivers/memstick/host/Makefile | 4 |
3 files changed, 1 insertions, 11 deletions
diff --git a/drivers/memstick/Makefile b/drivers/memstick/Makefile index dc160fb43515..98623590c7fe 100644 --- a/drivers/memstick/Makefile +++ b/drivers/memstick/Makefile | |||
@@ -2,9 +2,7 @@ | |||
2 | # Makefile for the kernel MemoryStick device drivers. | 2 | # Makefile for the kernel MemoryStick device drivers. |
3 | # | 3 | # |
4 | 4 | ||
5 | ifeq ($(CONFIG_MEMSTICK_DEBUG),y) | 5 | subdir-ccflags-$(CONFIG_MEMSTICK_DEBUG) := -DDEBUG |
6 | EXTRA_CFLAGS += -DDEBUG | ||
7 | endif | ||
8 | 6 | ||
9 | obj-$(CONFIG_MEMSTICK) += core/ | 7 | obj-$(CONFIG_MEMSTICK) += core/ |
10 | obj-$(CONFIG_MEMSTICK) += host/ | 8 | obj-$(CONFIG_MEMSTICK) += host/ |
diff --git a/drivers/memstick/core/Makefile b/drivers/memstick/core/Makefile index 8b2b5293877e..ecd029937738 100644 --- a/drivers/memstick/core/Makefile +++ b/drivers/memstick/core/Makefile | |||
@@ -2,10 +2,6 @@ | |||
2 | # Makefile for the kernel MemoryStick core. | 2 | # Makefile for the kernel MemoryStick core. |
3 | # | 3 | # |
4 | 4 | ||
5 | ifeq ($(CONFIG_MEMSTICK_DEBUG),y) | ||
6 | EXTRA_CFLAGS += -DDEBUG | ||
7 | endif | ||
8 | |||
9 | obj-$(CONFIG_MEMSTICK) += memstick.o | 5 | obj-$(CONFIG_MEMSTICK) += memstick.o |
10 | 6 | ||
11 | obj-$(CONFIG_MSPRO_BLOCK) += mspro_block.o | 7 | obj-$(CONFIG_MSPRO_BLOCK) += mspro_block.o |
diff --git a/drivers/memstick/host/Makefile b/drivers/memstick/host/Makefile index 12530e4311d3..a1815e9dd019 100644 --- a/drivers/memstick/host/Makefile +++ b/drivers/memstick/host/Makefile | |||
@@ -2,9 +2,5 @@ | |||
2 | # Makefile for MemoryStick host controller drivers | 2 | # Makefile for MemoryStick host controller drivers |
3 | # | 3 | # |
4 | 4 | ||
5 | ifeq ($(CONFIG_MEMSTICK_DEBUG),y) | ||
6 | EXTRA_CFLAGS += -DDEBUG | ||
7 | endif | ||
8 | |||
9 | obj-$(CONFIG_MEMSTICK_TIFM_MS) += tifm_ms.o | 5 | obj-$(CONFIG_MEMSTICK_TIFM_MS) += tifm_ms.o |
10 | obj-$(CONFIG_MEMSTICK_JMICRON_38X) += jmb38x_ms.o | 6 | obj-$(CONFIG_MEMSTICK_JMICRON_38X) += jmb38x_ms.o |