mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-22 17:01:14 +00:00
![Yegor Yefremov](/assets/img/avatar_default.png)
Using $(PWD) breaks builds when make was invoked from outside of the kernel tree. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
12 lines
425 B
Makefile
12 lines
425 B
Makefile
#
|
|
# USB peripheral controller drivers
|
|
#
|
|
subdir-ccflags-$(CONFIG_USB_GADGET_DEBUG) := -DDEBUG
|
|
subdir-ccflags-$(CONFIG_USB_GADGET_VERBOSE) += -DVERBOSE_DEBUG
|
|
ccflags-y += -I$(srctree)/drivers/usb/gadget/udc
|
|
|
|
obj-$(CONFIG_USB_LIBCOMPOSITE) += libcomposite.o
|
|
libcomposite-y := usbstring.o config.o epautoconf.o
|
|
libcomposite-y += composite.o functions.o configfs.o u_f.o
|
|
|
|
obj-$(CONFIG_USB_GADGET) += udc/ function/ legacy/
|