Re: [PATCHv2] ARM: OMAP: build mach-omap code only if needed

2013-07-04 Thread Tony Lindgren
* Tony Lindgren [130625 00:34]: > * Arnd Bergmann [130624 07:25]: > > If we build a kernel with CONFIG_ARCH_OMAP2PLUS enabled but all of the > > individual SoCs disabled, we run into a large number of link errors > > because if incorrect dependencies: > > > > arch/arm/mach-omap2/built-in.o: In f

Re: [PATCHv2] ARM: OMAP: build mach-omap code only if needed

2013-06-25 Thread Tony Lindgren
* Arnd Bergmann [130624 07:25]: > If we build a kernel with CONFIG_ARCH_OMAP2PLUS enabled but all of the > individual SoCs disabled, we run into a large number of link errors > because if incorrect dependencies: > > arch/arm/mach-omap2/built-in.o: In function `_add_initiator_dep': > arch/arm/mach

[PATCHv2] ARM: OMAP: build mach-omap code only if needed

2013-06-24 Thread Arnd Bergmann
If we build a kernel with CONFIG_ARCH_OMAP2PLUS enabled but all of the individual SoCs disabled, we run into a large number of link errors because if incorrect dependencies: arch/arm/mach-omap2/built-in.o: In function `_add_initiator_dep': arch/arm/mach-omap2/omap_hwmod.c:691: undefined reference