Skip to content
Snippets Groups Projects
Commit a04983d6 authored by Pantelis Antoniou's avatar Pantelis Antoniou Committed by Marek Vasut
Browse files

usb: Fix bug when both DFU & ETHER are defined


When both CONFIG_USB_GADGET & CONFIG_USB_ETHER are defined
the makefile links objects twice.

This patch uses a Makefile specific idiom of
'if defined(CONFIG_USB_GADGET) || defined(CONFIG_USB_ETHER)'
to handle the case.

Signed-off-by: default avatarPantelis Antoniou <panto@antoniou-consulting.com>
parent 1b6ca18b
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment