[U-Boot] [PATCH v3 1/9] usb: Fix bug when both DFU & ETHER are defined

Marek Vasut marex at denx.de
Sat Dec 1 06:30:02 CET 2012


Dear Pantelis Antoniou,

> When both CONFIG_USB_GADGET & CONFIG_USB_ETHER are defined
> the makefile links objects twice.
> 
> The cleanest way to fix is to use a new define, CONFIG_USB_UTIL
> which must be defined when either CONFIG_USB_ETHER or
> CONFIG_USB_GADGET are defined.
> 
> All affected boards have been modified as well.
> 
> Signed-off-by: Pantelis Antoniou <panto at antoniou-consulting.com>

Quick google [1]

http://old.nabble.com/if-defined%28a%29-||-defined%28b%29-td26806006.html

This won't work?

Best regards,
Marek Vasut


More information about the U-Boot mailing list