public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* build error on Linux-2.6.15-rc4-omap1
@ 2005-12-21  1:25 Hiroki Kaminaga
  2005-12-21  2:06 ` Todd Poynor
  0 siblings, 1 reply; 5+ messages in thread
From: Hiroki Kaminaga @ 2005-12-21  1:25 UTC (permalink / raw)
  To: linux-omap-open-source

Hi,

I'm building linux 2.6.15-rc, and applied Linux-2.6.15-rc4-omap1
on source.

However, when I tried to build for OSK5912, with CONFIG_PM=y (this is default),
following error was emitted.

--
make[2]: *** No rule to make target `arch/arm/mach-omap1/pm.o', needed by `arch/arm/mach-omap1/built-in.o'.  Stop.
make[1]: *** [arch/arm/mach-omap1] Error 2
--

However, on 2.6.14 omap patch, there was no such error when CONFIG_PM=y.

pm.c was in arch/arm/plat-omap/, and below diff, without pm.c (and 
I guess also sleep.c too) had caused this error.


diff -u linux-2.6.{14,15rc}/arch/arm/mach-omap1/Makefile
--- linux-2.6.14/arch/arm/mach-omap1/Makefile
+++ linux-2.6.15rc/arch/arm/mach-omap1/Makefile
@@ -3,7 +3,13 @@
 #
 
 # Common support
-obj-y := io.o id.o clock.o irq.o time.o mux.o serial.o devices.o
+obj-y := io.o id.o clock.o irq.o mux.o serial.o devices.o
+
+obj-$(CONFIG_OMAP_MPU_TIMER)           += time.o
+
+# Power Management
+obj-$(CONFIG_PM) += pm.o sleep.o
+
 led-y := leds.o


I'm currently doing work-around by making symbolic link from plat-omap/pm.c.

Anyone have same build error?


HK.
--

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

end of thread, other threads:[~2006-01-11  4:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-21  1:25 build error on Linux-2.6.15-rc4-omap1 Hiroki Kaminaga
2005-12-21  2:06 ` Todd Poynor
2005-12-21  2:28   ` Hiroki Kaminaga
2006-01-03 19:04     ` Tony Lindgren
2006-01-11  4:12   ` Hiroki Kaminaga

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