public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* Re: build error on Linux-2.6.15-omap1
  2006-01-12  4:51 build error on Linux-2.6.15-omap1 Hiroki Kaminaga
@ 2006-01-12  3:21 ` Kristian Mueller
       [not found] ` <1137035283.11250.50.camel@pismo>
  1 sibling, 0 replies; 4+ messages in thread
From: Kristian Mueller @ 2006-01-12  3:21 UTC (permalink / raw)
  To: Hiroki Kaminaga; +Cc: linux-omap-open-source

Hi Hiroki

On Do, 2006-01-12 at 13:51 +0900, Hiroki Kaminaga wrote:
> [..]
> I'm building linux 2.6.15, and applied Linux-2.6.15-omap1.
> When I tried to build for OSK5912, with CONFIG_PM=y (this is default),
> [..]
> 1) mv pm.c (and Sleep.S) from plat-omap/ to mach-omap1/, or

I guess there must be something wrong with your patch since in
linux-2.6.15-omap1 pm.c and Sleep.S are already in mach-omap1 

That is since 1st december last year:
http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commit;h=a57a89ee9ad70186e4f7be46e0930fcb8fb53bb6


Greetings

Kristian
-- 

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

* build error on Linux-2.6.15-omap1
@ 2006-01-12  4:51 Hiroki Kaminaga
  2006-01-12  3:21 ` Kristian Mueller
       [not found] ` <1137035283.11250.50.camel@pismo>
  0 siblings, 2 replies; 4+ messages in thread
From: Hiroki Kaminaga @ 2006-01-12  4:51 UTC (permalink / raw)
  To: linux-omap-open-source

Hi,

I'm building linux 2.6.15, and applied Linux-2.6.15-omap1.
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
--

I'm not sure which is better way to fix,

1) mv pm.c (and Sleep.S) from plat-omap/ to mach-omap1/, or
2) move `obj-$(CONFIG_PM) += pm.o sleep.o' line from mach-omap1/Makefile to
   plat-omap/Makefile


Best Regards,

HK.
--

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

* Re: build error on Linux-2.6.15-omap1
       [not found] ` <1137035283.11250.50.camel@pismo>
@ 2006-01-12 11:29   ` Hiroki Kaminaga
  2006-01-12 22:43     ` Tony Lindgren
  0 siblings, 1 reply; 4+ messages in thread
From: Hiroki Kaminaga @ 2006-01-12 11:29 UTC (permalink / raw)
  To: Craps; +Cc: linux-omap-open-source

Hi,

> I guess there must be something wrong with your patch since in
> linux-2.6.15-omap1 pm.c and Sleep.S are already in mach-omap1 
> 
> That is since 1st december last year:
> http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commit;h=a57a89ee9ad70186e4f7be46e0930fcb8fb53bb6
> 

Oh!
It is fixed in source code management system!

However, I looked Linux-2.6.15-omap1 patch again, and it was as follows:

* * *

diff --git a/arch/arm/plat-omap/pm.c b/arch/arm/mach-omap1/pm.c
similarity index 83%
rename from arch/arm/plat-omap/pm.c
rename to arch/arm/mach-omap1/pm.c
index 1a24e2c..d483ac4 100644
--- a/arch/arm/plat-omap/pm.c
+++ b/arch/arm/mach-omap1/pm.c
@@ -40,22 +40,26 @@
 #include <linux/proc_fs.h>
 #include <linux/pm.h>
 #include <linux/interrupt.h>
+#include <linux/sysfs.h>
+#include <linux/module.h>
... 

* * *

the `+++' part is mach-omap1, but `---' part was plat-omap, and
after patching, pm.c was still in plat-omap...

I'm using FC3 as host, diff version 2.8.1, patch version 2.5.4, 
I guess `rename from' and `rename to' line didn't do what is intended?!


# Or I'm downloading different file? I downloaded:
# http://www.muru.com/linux/omap/ -> Linux-2.6.15-omap1


Best Regards,

HK.
--

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

* Re: build error on Linux-2.6.15-omap1
  2006-01-12 11:29   ` Hiroki Kaminaga
@ 2006-01-12 22:43     ` Tony Lindgren
  0 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2006-01-12 22:43 UTC (permalink / raw)
  To: Hiroki Kaminaga; +Cc: linux-omap-open-source, Craps

* Hiroki Kaminaga <kaminaga@sm.sony.co.jp> [060112 03:36]:
> Hi,
> 
> > I guess there must be something wrong with your patch since in
> > linux-2.6.15-omap1 pm.c and Sleep.S are already in mach-omap1 
> > 
> > That is since 1st december last year:
> > http://source.mvista.com/git/gitweb.cgi?p=linux-omap-2.6.git;a=commit;h=a57a89ee9ad70186e4f7be46e0930fcb8fb53bb6
> > 
> 
> Oh!
> It is fixed in source code management system!
> 
> However, I looked Linux-2.6.15-omap1 patch again, and it was as follows:
> 
> * * *
> 
> diff --git a/arch/arm/plat-omap/pm.c b/arch/arm/mach-omap1/pm.c
> similarity index 83%
> rename from arch/arm/plat-omap/pm.c
> rename to arch/arm/mach-omap1/pm.c
> index 1a24e2c..d483ac4 100644
> --- a/arch/arm/plat-omap/pm.c
> +++ b/arch/arm/mach-omap1/pm.c
> @@ -40,22 +40,26 @@
>  #include <linux/proc_fs.h>
>  #include <linux/pm.h>
>  #include <linux/interrupt.h>
> +#include <linux/sysfs.h>
> +#include <linux/module.h>
> ... 
> 
> * * *
> 
> the `+++' part is mach-omap1, but `---' part was plat-omap, and
> after patching, pm.c was still in plat-omap...
> 
> I'm using FC3 as host, diff version 2.8.1, patch version 2.5.4, 
> I guess `rename from' and `rename to' line didn't do what is intended?!

Ah, thanks for catching it! This sounds like a bug in git. I've been
using this to generate the patch:

$ git diff 88026842b0a760145aa71d69e74fbc9ec118ca44..165e0bcd61404f0418fc70f07a6a23124fa0d206 
 
> # Or I'm downloading different file? I downloaded:
> # http://www.muru.com/linux/omap/ -> Linux-2.6.15-omap1

No that's right. I'll produce 2.6.15-omap2 patch soon and will fix it in
the patch.

Regards,

Tony

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

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

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-12  4:51 build error on Linux-2.6.15-omap1 Hiroki Kaminaga
2006-01-12  3:21 ` Kristian Mueller
     [not found] ` <1137035283.11250.50.camel@pismo>
2006-01-12 11:29   ` Hiroki Kaminaga
2006-01-12 22:43     ` Tony Lindgren

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