mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-26 10:49:33 +00:00
![matt mooney](/assets/img/avatar_default.png)
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/
|
|
|