mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-24 03:24:55 +08:00
d3c502b84f
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>
11 lines
183 B
Makefile
11 lines
183 B
Makefile
#
|
|
# Makefile for the kernel mmc device drivers.
|
|
#
|
|
|
|
subdir-ccflags-$(CONFIG_MMC_DEBUG) := -DDEBUG
|
|
|
|
obj-$(CONFIG_MMC) += core/
|
|
obj-$(CONFIG_MMC) += card/
|
|
obj-$(CONFIG_MMC) += host/
|
|
|