diff options
author | matt mooney <mfm@muteddisk.com> | 2010-09-24 12:17:33 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-22 10:21:56 -0700 |
commit | 25013315678c78091a7826be7097fa2b60e30aac (patch) | |
tree | 6be26b3a440d3876e1cc46606e22df909d681631 /drivers/usb/gadget/Makefile | |
parent | e0c43476c12db99e20066151d0c49aa76b34e50d (diff) | |
download | op-kernel-dev-25013315678c78091a7826be7097fa2b60e30aac.zip op-kernel-dev-25013315678c78091a7826be7097fa2b60e30aac.tar.gz |
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/Makefile')
-rw-r--r-- | drivers/usb/gadget/Makefile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/usb/gadget/Makefile b/drivers/usb/gadget/Makefile index 27283df..c682005 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 |