public inbox for linux-kbuild@vger.kernel.org
 help / color / mirror / Atom feed
* Build failure with DMA_OMAP=m and a caller built-in
@ 2013-01-06  5:26 Ben Hutchings
  2013-01-07 20:21 ` Tony Lindgren
  0 siblings, 1 reply; 6+ messages in thread
From: Ben Hutchings @ 2013-01-06  5:26 UTC (permalink / raw)
  To: linux-kbuild, linux-omap

[-- Attachment #1: Type: text/plain, Size: 637 bytes --]

Various drivers use omap_dma_filter_fn() but don't depend on DMA_OMAP.
This is fine because there is a trivial inline definition in case
DMA_OMAP is disabled... until the caller is built-in and DMA_OMAP=m.

I tried adding the rather weird 'select DMA_OMAP if DMA_OMAP!=n' to
these drivers' kconfig symbols to promote it to built-in if necessary.
This sort of works but kconfig complains about the circular dependency
and it becomes impossible to disable DMA_OMAP in the 'make nconfig'
menu.  So that's not the right thing to do.

Any ideas?

Ben.

-- 
Ben Hutchings
Sturgeon's Law: Ninety percent of everything is crap.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 828 bytes --]

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

end of thread, other threads:[~2013-01-08 22:56 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-06  5:26 Build failure with DMA_OMAP=m and a caller built-in Ben Hutchings
2013-01-07 20:21 ` Tony Lindgren
2013-01-07 20:36   ` Tony Lindgren
2013-01-07 20:38   ` Russell King - ARM Linux
2013-01-08  9:02     ` Vinod Koul
2013-01-08 22:56     ` Arnd Bergmann

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