summaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/Makefile
diff options
context:
space:
mode:
authormatt mooney <mfm@muteddisk.com>2010-09-24 12:17:33 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-22 10:21:56 -0700
commit25013315678c78091a7826be7097fa2b60e30aac (patch)
tree6be26b3a440d3876e1cc46606e22df909d681631 /drivers/usb/core/Makefile
parente0c43476c12db99e20066151d0c49aa76b34e50d (diff)
downloadtalos-obmc-linux-25013315678c78091a7826be7097fa2b60e30aac.tar.gz
talos-obmc-linux-25013315678c78091a7826be7097fa2b60e30aac.zip
usb: change to new flag variable
Replace EXTRA_CFLAGS with ccflags-y. Signed-off-by: matt mooney <mfm@muteddisk.com> Acked-by: WANG Cong <xiyou.wangcong@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/core/Makefile')
-rw-r--r--drivers/usb/core/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/core/Makefile b/drivers/usb/core/Makefile
index ec16e6029905..17c8e2d2a07d 100644
--- a/drivers/usb/core/Makefile
+++ b/drivers/usb/core/Makefile
@@ -16,6 +16,4 @@ endif
obj-$(CONFIG_USB) += usbcore.o
-ifeq ($(CONFIG_USB_DEBUG),y)
-EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG
OpenPOWER on IntegriCloud