mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-30 08:02:30 +00: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>
9 lines
178 B
Makefile
9 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/
|
|
|