Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25013315 authored by matt mooney's avatar matt mooney Committed by Greg Kroah-Hartman
Browse files

usb: change to new flag variable



Replace EXTRA_CFLAGS with ccflags-y.

Signed-off-by: default avatarmatt mooney <mfm@muteddisk.com>
Acked-by: default avatarWANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e0c43476
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -8,6 +8,4 @@ obj-$(CONFIG_USB_UEAGLEATM) += ueagle-atm.o
obj-$(CONFIG_USB_ATM)		+= usbatm.o
obj-$(CONFIG_USB_XUSBATM)	+= xusbatm.o

ifeq ($(CONFIG_USB_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif
ccflags-$(CONFIG_USB_DEBUG)	:= -DDEBUG
+1 −3
Original line number Diff line number Diff line
@@ -16,6 +16,4 @@ endif

obj-$(CONFIG_USB)	+= usbcore.o

ifeq ($(CONFIG_USB_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif
ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG
+1 −3
Original line number Diff line number Diff line
#
# 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
+1 −3
Original line number Diff line number Diff line
@@ -2,9 +2,7 @@
# Makefile for USB Host Controller Drivers
#

ifeq ($(CONFIG_USB_DEBUG),y)
	EXTRA_CFLAGS		+= -DDEBUG
endif
ccflags-$(CONFIG_USB_DEBUG)	:= -DDEBUG

isp1760-objs := isp1760-hcd.o isp1760-if.o
fhci-objs := fhci-hcd.o fhci-hub.o fhci-q.o fhci-mem.o \
+1 −3
Original line number Diff line number Diff line
@@ -26,6 +26,4 @@ obj-$(CONFIG_USB_YUREX) += yurex.o

obj-$(CONFIG_USB_SISUSBVGA)	+= sisusbvga/

ifeq ($(CONFIG_USB_DEBUG),y)
EXTRA_CFLAGS += -DDEBUG
endif
ccflags-$(CONFIG_USB_DEBUG)	:= -DDEBUG
Loading