diff options
author | matt mooney <mfm@muteddisk.com> | 2011-01-14 09:12:42 -0500 |
---|---|---|
committer | Michal Marek <mmarek@suse.cz> | 2011-03-17 09:05:34 -0400 |
commit | 41d9c644fc4dd5fa399682c0f8d0d1f79b77a199 (patch) | |
tree | 45ce8fc5f1db2948c6fa94c7f9ca006a7ba55811 /drivers/memstick/Makefile | |
parent | f656c25b71b986b98dce2f8d268524f792b7e43f (diff) |
memstick: change to new flag variable
The EXTRA_CFLAGS assignment in memstick/Makefile was not accomplishing
anything because this flag only has effect on sources at the same level
as the makefile (i.e., per directory). Since both core/ and host/ rely
on MEMSTICK_DEBUG, the subdir-ccflags-y variant seems to be the
appropriate choice.
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/memstick/Makefile')
-rw-r--r-- | drivers/memstick/Makefile | 4 |
1 files changed, 1 insertions, 3 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/ |