Skip to content
Commit 7cc1af90 authored by Marek Vasut's avatar Marek Vasut
Browse files

usb: gadget: Clean up Makefile ifdeffery



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: default avatarMarek Vasut <marex@denx.de>
Reviewed-by: default avatarPatrice Chotard <patrice.chotard@foss.st.com>
parent fcb670b7
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment