Skip to contentSkip to conversation

perseus2 build broken (tip of tree)

DISCUSSION Brian Swetland 2 participants 2 messages Mar 1, 2006 – Mar 2, 2006

lore
Share & tools
lore
#0 lore raw

Does anyone know if there's a simple fix for this...
I can comment out mcbsp.o in the makefile and everything builds happily:

arch/arm/plat-omap/mcbsp.c:67: error: `OMAP_MAX_MCBSP_COUNT' undeclared here (not in a function)
arch/arm/plat-omap/mcbsp.c: In function `omap_mcbsp_config':
arch/arm/plat-omap/mcbsp.c:162: error: `OMAP_MCBSP_REG_SPCR2' undeclared (first use in this function)
arch/arm/plat-omap/mcbsp.c:162: error: (Each undeclared identifier is reported only once
arch/arm/plat-omap/mcbsp.c:162: error: for each function it appears in.) arch/arm/plat-omap/mcbsp.c:163: error: `OMAP_MCBSP_REG_SPCR1' undeclared (first use in this function)
...

It looks like at some point either mcbsp stopped being optional or it was changed so it doesn't build on ARCH_OMAP730.

Brian

#1 lore raw
Quoted 3 lines · Brian Swetland

Does anyone know if there's a simple fix for this...
I can comment out mcbsp.o in the makefile and everything builds happily:

Yep, the simple fix would be to add the missing definitions in include/asm-arm/arch-omap/mcbsp.h -- probably add "|| defined(CONFIG_ARCH_OMAP73)" at the end of line 43. A more correct approach was discussed on this list some time ago. Regards,
Andrew
--
balrog 2oo6

Dear Outlook users: Please remove me from your address books
http://www.newsforge.com/article.pl?sid=03/08/21/143258