* mainline tree fails to build with OMAP3-only config
@ 2011-11-03 15:48 Daniel Mack
2011-11-03 17:53 ` Daniel Mack
0 siblings, 1 reply; 3+ messages in thread
From: Daniel Mack @ 2011-11-03 15:48 UTC (permalink / raw)
To: linux-arm-kernel
Hi,
when trying to build an OMAP3-only config with Linus' current mainline
HEAD, I'm getting the following errors. The same config works fine with
v3.1.
The reasons seems to be that arch/arm/mach-omap2/io.c defines the
*_init_early() functions unconditionally for all platforms. Is this
already fixed in any tree?
Thanks,
Daniel
LD .tmp_vmlinux1
arch/arm/mach-omap2/built-in.o: In function `omap4430_init_early':
twl-common.c:(.init.text+0x4f0): undefined reference to
`omap2_set_globals_443x'
twl-common.c:(.init.text+0x4f8): undefined reference to
`omap44xx_voltagedomains_init'
twl-common.c:(.init.text+0x4fc): undefined reference to
`omap44xx_powerdomains_init'
twl-common.c:(.init.text+0x500): undefined reference to
`omap44xx_clockdomains_init'
twl-common.c:(.init.text+0x504): undefined reference to
`omap44xx_hwmod_init'
twl-common.c:(.init.text+0x510): undefined reference to `omap4xxx_clk_init'
arch/arm/mach-omap2/built-in.o: In function `omap2430_init_early':
twl-common.c:(.init.text+0x578): undefined reference to
`omap2_set_globals_243x'
twl-common.c:(.init.text+0x580): undefined reference to
`omap2xxx_voltagedomains_init'
twl-common.c:(.init.text+0x584): undefined reference to
`omap243x_powerdomains_init'
twl-common.c:(.init.text+0x588): undefined reference to
`omap243x_clockdomains_init'
twl-common.c:(.init.text+0x58c): undefined reference to
`omap2430_hwmod_init'
arch/arm/mach-omap2/built-in.o: In function `omap2420_init_early':
twl-common.c:(.init.text+0x59c): undefined reference to
`omap2_set_globals_242x'
twl-common.c:(.init.text+0x5a4): undefined reference to
`omap2xxx_voltagedomains_init'
twl-common.c:(.init.text+0x5a8): undefined reference to
`omap242x_powerdomains_init'
twl-common.c:(.init.text+0x5ac): undefined reference to
`omap242x_clockdomains_init'
twl-common.c:(.init.text+0x5b0): undefined reference to
`omap2420_hwmod_init'
make: *** [.tmp_vmlinux1] Error 1
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-11-03 18:57 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-03 15:48 mainline tree fails to build with OMAP3-only config Daniel Mack
2011-11-03 17:53 ` Daniel Mack
2011-11-03 18:57 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).