Re: [PATCH 2/2] usb: gadget: Clean up Makefile ifdeffery

2022-08-24 Thread Patrice CHOTARD
Hi Marek On 8/23/22 19:06, Marek Vasut wrote: > Take the USB_ETHER ifdef block apart and make use of obj-$(VAR) instead > to include the source files in build. The duplicate CI_UDC entry is now > removed, the USB_DEVICE ifdef is now reduced to core.o ep.o addition, > the ether.o can be conditional

[PATCH 2/2] usb: gadget: Clean up Makefile ifdeffery

2022-08-23 Thread Marek Vasut
Take the USB_ETHER ifdef block apart and make use of obj-$(VAR) instead to include the source files in build. The duplicate CI_UDC entry is now removed, the USB_DEVICE ifdef is now reduced to core.o ep.o addition, the ether.o can be conditionally compiled in using USB_ETHER. No functional change.