mirror of
https://github.com/torvalds/linux.git
synced 2024-11-06 03:51:48 +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>
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/
|
|
|