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

Patrice CHOTARD patrice.chotard at foss.st.com
Wed Aug 24 09:11:01 CEST 2022


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 conditionally compiled in using USB_ETHER.
> 
> No functional change.
> 
> Signed-off-by: Marek Vasut <marex at denx.de>
> ---
> Cc: Heiko Schocher <hs at denx.de>
> Cc: Patrice Chotard <patrice.chotard at foss.st.com>
> Cc: Patrick Delaunay <patrick.delaunay at foss.st.com>
> ---

Reviewed-by: Patrice Chotard <patrice.chotard at foss.st.com>

Thanks
Patrice


More information about the U-Boot mailing list