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 <pa...@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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot