diff options
Diffstat (limited to 'drivers/memstick/Makefile')
-rw-r--r-- | drivers/memstick/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/memstick/Makefile b/drivers/memstick/Makefile index dc160fb4..9862359 100644 --- a/drivers/memstick/Makefile +++ b/drivers/memstick/Makefile @@ -2,9 +2,7 @@ # Makefile for the kernel MemoryStick device drivers. # -ifeq ($(CONFIG_MEMSTICK_DEBUG),y) - EXTRA_CFLAGS += -DDEBUG -endif +subdir-ccflags-$(CONFIG_MEMSTICK_DEBUG) := -DDEBUG obj-$(CONFIG_MEMSTICK) += core/ obj-$(CONFIG_MEMSTICK) += host/ |