From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com Subject: Re: Kconfig undefined references (on other platforms) Date: Wed, 16 May 2007 08:16:36 -0700 Message-ID: <20070516151635.GB20297@atomide.com> References: <463F80E7.9040201@am.sony.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <463F80E7.9040201@am.sony.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-omap-open-source-bounces@linux.omap.com Errors-To: linux-omap-open-source-bounces@linux.omap.com To: Tim Bird Cc: linux-omap-open-source@linux.omap.com List-Id: linux-omap@vger.kernel.org * Tim Bird [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