From: Peter Tyser Date: Sat, 05 Dec 2009 17:43:07 -0600 Subject: [U-Boot] "Move do_irqinfo() to common/cmd_irq.c" breaks MVBLUE board... In-Reply-To: <20091205230602.446C6E34A46@gemini.denx.de> References: <20091205230602.446C6E34A46@gemini.denx.de> Message-ID: <1260056587.7073.9.camel@ptyser-laptop> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sun, 2009-12-06 at 00:06 +0100, Wolfgang Denk wrote: > Dear Peter, > > your commit c253122395 (Move do_irqinfo() to common/cmd_irq.c) breaks > building of the MVBLUE board: > > -> ./MAKEALL MVBLUE > Configuring for MVBLUE board... > common/libcommon.a(cmd_irq.o):(.u_boot_cmd+0x24): undefined reference to `do_irqinfo' > make: *** [u-boot] Error 1 > > > Can you please have a look? Sure, sorry for the breakage. Looks like MVBLUE has CONFIG_CMD_IRQ defined, but doesn't have CONFIG_CMD_MISC defined. Prior to my move, since the do_irqinfo() was inside cmd_misc.c, the do_irqinfo() call was never compiled. So previously, CONFIG_CMD_IRQ had no effect and was ignored for the MVBLUE. cpu/mpc824x/interrupts.c doesn't have do_irqinfo() implemented, which causes the problem. I'll send a patch which removes CONFIG_CMD_IRQ from MVBLUE.h as a fix. Best, Peter