summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
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/gadget
parente0c43476c12db99e20066151d0c49aa76b34e50d (diff)
downloadblackbird-op-linux-25013315678c78091a7826be7097fa2b60e30aac.tar.gz
blackbird-op-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/gadget')
-rw-r--r--drivers/usb/gadget/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile
index 27283df37d09..c68200536500 100644
--- a/drivers/usb/gadget/Makefile
+++ b/drivers/usb/gadget/Makefile
@@ -1,9 +1,7 @@
#
# USB peripheral controller drivers
#
-ifeq ($(CONFIG_USB_GADGET_DEBUG),y)
- EXTRA_CFLAGS += -DDEBUG
-endif
+ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG
obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o
obj-$(CONFIG_USB_NET2280) += net2280.o
OpenPOWER on IntegriCloud