public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Kconfig undefined references (on other platforms)
@ 2007-05-07 19:41 Tim Bird
  2007-05-16 15:16 ` tony
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Bird @ 2007-05-07 19:41 UTC (permalink / raw)
  To: linux-omap-open-source

Hi all,

I'm using patch-2.6.20-omap1, with a kernel that I compile
for multiple boards. When I compile the kernel for a MIPS board,
I get some Kconfig warnings on OMAP symbols.

>From the compile:
scripts/kconfig/conf -s arch/mips/Kconfig
sound/arm/Kconfig:42:warning: 'select' used by config symbol 'SND_OMAP_AIC23' refer to undefined symbol 'OMAP_MCBSP'
sound/arm/Kconfig:57:warning: 'select' used by config symbol 'SND_OMAP_TSC2101' refer to undefined symbol 'OMAP_MCBSP'
sound/arm/Kconfig:70:warning: 'select' used by config symbol 'SND_SX1' refer to undefined symbol 'OMAP_MCBSP'

It looks like sound/arm/Kconfig is included (unconditionally) in
sound/Kconfig. OMAP_MCBSP is defined in arch/arm/plat-omap1/Kconfig,
which is not included during my build on MIPS.

Does anyone know what the proper technique is for making either the
selects or the includes conditional, or otherwise quieting these
types of reference warnings?

Thanks,
 -- Tim

=============================
Tim Bird
Architecture Group Chair, CE Linux Forum
Senior Staff Engineer, Sony Electronics
=============================

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Kconfig undefined references (on other platforms)
  2007-05-07 19:41 Kconfig undefined references (on other platforms) Tim Bird
@ 2007-05-16 15:16 ` tony
  0 siblings, 0 replies; 2+ messages in thread
From: tony @ 2007-05-16 15:16 UTC (permalink / raw)
  To: Tim Bird; +Cc: linux-omap-open-source

* Tim Bird <tim.bird@am.sony.com> [070507 12:43]:
> Hi all,
> 
> I'm using patch-2.6.20-omap1, with a kernel that I compile
> for multiple boards. When I compile the kernel for a MIPS board,
> I get some Kconfig warnings on OMAP symbols.
> 
> >From the compile:
> scripts/kconfig/conf -s arch/mips/Kconfig
> sound/arm/Kconfig:42:warning: 'select' used by config symbol 'SND_OMAP_AIC23' refer to undefined symbol 'OMAP_MCBSP'
> sound/arm/Kconfig:57:warning: 'select' used by config symbol 'SND_OMAP_TSC2101' refer to undefined symbol 'OMAP_MCBSP'
> sound/arm/Kconfig:70:warning: 'select' used by config symbol 'SND_SX1' refer to undefined symbol 'OMAP_MCBSP'
> 
> It looks like sound/arm/Kconfig is included (unconditionally) in
> sound/Kconfig. OMAP_MCBSP is defined in arch/arm/plat-omap1/Kconfig,
> which is not included during my build on MIPS.
> 
> Does anyone know what the proper technique is for making either the
> selects or the includes conditional, or otherwise quieting these
> types of reference warnings?

Sounds like it would be best to have board-*.c functions take care
of of the mcbsp read/write for omap.

Tony

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-05-16 15:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-07 19:41 Kconfig undefined references (on other platforms) Tim Bird
2007-05-16 15:16 ` tony

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox