mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-15 00:04:15 +08:00
41d9c644fc
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>
10 lines
178 B
Makefile
10 lines
178 B
Makefile
#
|
|
# Makefile for the kernel MemoryStick device drivers.
|
|
#
|
|
|
|
subdir-ccflags-$(CONFIG_MEMSTICK_DEBUG) := -DDEBUG
|
|
|
|
obj-$(CONFIG_MEMSTICK) += core/
|
|
obj-$(CONFIG_MEMSTICK) += host/
|
|
|