commit | 7cc1af902dfad290ab39b0ee52128b18d83a151a | [log] [tgz] |
---|---|---|
author | Marek Vasut <marex@denx.de> | Tue Aug 23 19:06:51 2022 +0200 |
committer | Marek Vasut <marex@denx.de> | Mon Oct 10 18:08:18 2022 +0200 |
tree | 59796afd1b83f4a15a8dddc4b520e19730fdbbc7 | |
parent | fcb670b794c9839c026757bf2d5cd564323ce199 [diff] |
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: Marek Vasut <marex@denx.de> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>