From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek Vasut Date: Sat, 1 Dec 2012 06:30:02 +0100 Subject: [U-Boot] [PATCH v3 1/9] usb: Fix bug when both DFU & ETHER are defined In-Reply-To: <1354298472-3605-2-git-send-email-panto@antoniou-consulting.com> References: <1354298472-3605-1-git-send-email-panto@antoniou-consulting.com> <1354298472-3605-2-git-send-email-panto@antoniou-consulting.com> Message-ID: <201212010630.03080.marex@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 Quick google [1] http://old.nabble.com/if-defined%28a%29-||-defined%28b%29-td26806006.html This won't work? Best regards, Marek Vasut