aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/Makefile
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2010-09-24 15:17:24 -0400
committerChris Ball <cjb@laptop.org>2010-10-23 09:11:15 -0400
commitd3c502b84f734b36abdc9d11ec61f00016e98d33 (patch)
tree6fa78e27c579591aa9e6020cad9acaca8d9b006f /drivers/mmc/core/Makefile
parent412ab659b2bdad6afac8f84daf2a8a393145dcae (diff)
mmc: Makefile: Fix EXTRA_CFLAGS assignment
The EXTRA_CFLAGS assignment in mmc/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 card/, core/, and host/ rely on MMC_DEBUG, the subdir-ccflags-y variant seems to be the appropriate choice. Signed-off-by: matt mooney <mfm@muteddisk.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/core/Makefile')
-rw-r--r--drivers/mmc/core/Makefile4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mmc/core/Makefile b/drivers/mmc/core/Makefile
index 889e5f898f6f..86b479119332 100644
--- a/drivers/mmc/core/Makefile
+++ b/drivers/mmc/core/Makefile
@@ -2,10 +2,6 @@
2# Makefile for the kernel mmc core. 2# Makefile for the kernel mmc core.
3# 3#
4 4
5ifeq ($(CONFIG_MMC_DEBUG),y)
6 EXTRA_CFLAGS += -DDEBUG
7endif
8
9obj-$(CONFIG_MMC) += mmc_core.o 5obj-$(CONFIG_MMC) += mmc_core.o
10mmc_core-y := core.o bus.o host.o \ 6mmc_core-y := core.o bus.o host.o \
11 mmc.o mmc_ops.o sd.o sd_ops.o \ 7 mmc.o mmc_ops.o sd.o sd_ops.o \