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

Pantelis Antoniou panto at antoniou-consulting.com
Mon Dec 3 11:10:36 CET 2012


Hi Marek,

On Dec 1, 2012, at 7:30 AM, Marek Vasut wrote:

> 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?
> 

Somehow I missed that. Makes some kind of (awful) sense.
Updated patch incoming...

> Best regards,
> Marek Vasut



More information about the U-Boot mailing list