![matt mooney](/assets/img/avatar_default.png)
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>
20 lines
402 B
Makefile
20 lines
402 B
Makefile
#
|
|
# Makefile for USB Core files and filesystem
|
|
#
|
|
|
|
usbcore-objs := usb.o hub.o hcd.o urb.o message.o driver.o \
|
|
config.o file.o buffer.o sysfs.o endpoint.o \
|
|
devio.o notify.o generic.o quirks.o devices.o
|
|
|
|
ifeq ($(CONFIG_PCI),y)
|
|
usbcore-objs += hcd-pci.o
|
|
endif
|
|
|
|
ifeq ($(CONFIG_USB_DEVICEFS),y)
|
|
usbcore-objs += inode.o
|
|
endif
|
|
|
|
obj-$(CONFIG_USB) += usbcore.o
|
|
|
|
ccflags-$(CONFIG_USB_DEBUG) := -DDEBUG
|