diff options
author | matt mooney <mfm@muteddisk.com> | 2010-09-24 15:17:33 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-22 13:21:56 -0400 |
commit | 25013315678c78091a7826be7097fa2b60e30aac (patch) | |
tree | 6be26b3a440d3876e1cc46606e22df909d681631 /drivers/usb | |
parent | e0c43476c12db99e20066151d0c49aa76b34e50d (diff) |
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')
-rw-r--r-- | drivers/usb/atm/Makefile | 4 | ||||
-rw-r--r-- | drivers/usb/core/Makefile | 4 | ||||
-rw-r--r-- | drivers/usb/gadget/Makefile | 4 | ||||
-rw-r--r-- | drivers/usb/host/Makefile | 4 | ||||
-rw-r--r-- | drivers/usb/misc/Makefile | 4 | ||||
-rw-r--r-- | drivers/usb/musb/Makefile | 4 | ||||
-rw-r--r-- | drivers/usb/storage/Makefile | 2 | ||||
-rw-r--r-- | drivers/usb/wusbcore/Makefile | 4 |
8 files changed, 8 insertions, 22 deletions
diff --git a/drivers/usb/atm/Makefile b/drivers/usb/atm/Makefile index 4c4a776ab1cd..d40a126e47a3 100644 --- a/drivers/usb/atm/Makefile +++ b/drivers/usb/atm/Makefile | |||
@@ -8,6 +8,4 @@ obj-$(CONFIG_USB_UEAGLEATM) += ueagle-atm.o | |||
8 | obj-$(CONFIG_USB_ATM) += usbatm.o | 8 | obj-$(CONFIG_USB_ATM) += usbatm.o |
9 | obj-$(CONFIG_USB_XUSBATM) += xusbatm.o | 9 | obj-$(CONFIG_USB_XUSBATM) += xusbatm.o |
10 | 10 | ||
11 | ifeq ($(CONFIG_USB_DEBUG),y) | 11 | ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG |
12 | EXTRA_CFLAGS += -DDEBUG | ||
13 | endif | ||
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 | |||
16 | 16 | ||
17 | obj-$(CONFIG_USB) += usbcore.o | 17 | obj-$(CONFIG_USB) += usbcore.o |
18 | 18 | ||
19 | ifeq ($(CONFIG_USB_DEBUG),y) | 19 | ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG |
20 | EXTRA_CFLAGS += -DDEBUG | ||
21 | endif | ||
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 @@ | |||
1 | # | 1 | # |
2 | # USB peripheral controller drivers | 2 | # USB peripheral controller drivers |
3 | # | 3 | # |
4 | ifeq ($(CONFIG_USB_GADGET_DEBUG),y) | 4 | ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG |
5 | EXTRA_CFLAGS += -DDEBUG | ||
6 | endif | ||
7 | 5 | ||
8 | obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o | 6 | obj-$(CONFIG_USB_DUMMY_HCD) += dummy_hcd.o |
9 | obj-$(CONFIG_USB_NET2280) += net2280.o | 7 | obj-$(CONFIG_USB_NET2280) += net2280.o |
diff --git a/drivers/usb/host/Makefile b/drivers/usb/host/Makefile index b6315aa47f7a..f0414429502f 100644 --- a/drivers/usb/host/Makefile +++ b/drivers/usb/host/Makefile | |||
@@ -2,9 +2,7 @@ | |||
2 | # Makefile for USB Host Controller Drivers | 2 | # Makefile for USB Host Controller Drivers |
3 | # | 3 | # |
4 | 4 | ||
5 | ifeq ($(CONFIG_USB_DEBUG),y) | 5 | ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG |
6 | EXTRA_CFLAGS += -DDEBUG | ||
7 | endif | ||
8 | 6 | ||
9 | isp1760-objs := isp1760-hcd.o isp1760-if.o | 7 | isp1760-objs := isp1760-hcd.o isp1760-if.o |
10 | fhci-objs := fhci-hcd.o fhci-hub.o fhci-q.o fhci-mem.o \ | 8 | fhci-objs := fhci-hcd.o fhci-hub.o fhci-q.o fhci-mem.o \ |
diff --git a/drivers/usb/misc/Makefile b/drivers/usb/misc/Makefile index d203ff6870e4..d2633c035626 100644 --- a/drivers/usb/misc/Makefile +++ b/drivers/usb/misc/Makefile | |||
@@ -26,6 +26,4 @@ obj-$(CONFIG_USB_YUREX) += yurex.o | |||
26 | 26 | ||
27 | obj-$(CONFIG_USB_SISUSBVGA) += sisusbvga/ | 27 | obj-$(CONFIG_USB_SISUSBVGA) += sisusbvga/ |
28 | 28 | ||
29 | ifeq ($(CONFIG_USB_DEBUG),y) | 29 | ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG |
30 | EXTRA_CFLAGS += -DDEBUG | ||
31 | endif | ||
diff --git a/drivers/usb/musb/Makefile b/drivers/usb/musb/Makefile index f664ecfa21c4..16aaae28714d 100644 --- a/drivers/usb/musb/Makefile +++ b/drivers/usb/musb/Makefile | |||
@@ -78,6 +78,4 @@ endif | |||
78 | 78 | ||
79 | # Debugging | 79 | # Debugging |
80 | 80 | ||
81 | ifeq ($(CONFIG_USB_MUSB_DEBUG),y) | 81 | ccflags-$(CONFIG_USB_MUSB_DEBUG) := -DDEBUG |
82 | EXTRA_CFLAGS += -DDEBUG | ||
83 | endif | ||
diff --git a/drivers/usb/storage/Makefile b/drivers/usb/storage/Makefile index 0332aa5df24f..65dbf652487e 100644 --- a/drivers/usb/storage/Makefile +++ b/drivers/usb/storage/Makefile | |||
@@ -5,7 +5,7 @@ | |||
5 | # Rewritten to use lists instead of if-statements. | 5 | # Rewritten to use lists instead of if-statements. |
6 | # | 6 | # |
7 | 7 | ||
8 | EXTRA_CFLAGS := -Idrivers/scsi | 8 | ccflags-y := -Idrivers/scsi |
9 | 9 | ||
10 | obj-$(CONFIG_USB_UAS) += uas.o | 10 | obj-$(CONFIG_USB_UAS) += uas.o |
11 | obj-$(CONFIG_USB_STORAGE) += usb-storage.o | 11 | obj-$(CONFIG_USB_STORAGE) += usb-storage.o |
diff --git a/drivers/usb/wusbcore/Makefile b/drivers/usb/wusbcore/Makefile index 75f1ade66258..f0d8045c802e 100644 --- a/drivers/usb/wusbcore/Makefile +++ b/drivers/usb/wusbcore/Makefile | |||
@@ -21,6 +21,4 @@ wusb-wa-objs := wa-hc.o \ | |||
21 | wa-rpipe.o \ | 21 | wa-rpipe.o \ |
22 | wa-xfer.o | 22 | wa-xfer.o |
23 | 23 | ||
24 | ifeq ($(CONFIG_USB_WUSB_CBAF_DEBUG),y) | 24 | ccflags-$(CONFIG_USB_WUSB_CBAF_DEBUG) := -DDEBUG |
25 | EXTRA_CFLAGS += -DDEBUG | ||
26 | endif | ||