linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* cris: asm-offsets related build failure
@ 2006-01-19  0:18 Adrian Bunk
  2006-01-19  8:57 ` Al Viro
  0 siblings, 1 reply; 4+ messages in thread
From: Adrian Bunk @ 2006-01-19  0:18 UTC (permalink / raw)
  To: sam; +Cc: starvik, dev-etrax, linux-kernel

Hi Sam,

the following build failure is present on the cris architecture:

<--  snip  -->

...
make[1]: *** No rule to make target `arch/cris/kernel/asm-offsets.c', 
needed by `arch/cris/kernel/asm-offsets.s'.  Stop.
make: *** [prepare0] Error 2

<--  snip  -->


The problem seems to be that the cris port has two different files for 
this purpose:
arch/cris/arch-v10/kernel/asm-offsets.c
arch/cris/arch-v32/kernel/asm-offsets.c


What is the best way to handle this?


cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


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

* Re: cris: asm-offsets related build failure
  2006-01-19  0:18 cris: asm-offsets related build failure Adrian Bunk
@ 2006-01-19  8:57 ` Al Viro
  2006-01-19 16:34   ` Sam Ravnborg
  0 siblings, 1 reply; 4+ messages in thread
From: Al Viro @ 2006-01-19  8:57 UTC (permalink / raw)
  To: Adrian Bunk; +Cc: sam, starvik, dev-etrax, linux-kernel

On Thu, Jan 19, 2006 at 01:18:52AM +0100, Adrian Bunk wrote:
> Hi Sam,
> 
> the following build failure is present on the cris architecture:
> 
> <--  snip  -->
> 
> ...
> make[1]: *** No rule to make target `arch/cris/kernel/asm-offsets.c', 
> needed by `arch/cris/kernel/asm-offsets.s'.  Stop.
> make: *** [prepare0] Error 2

Subject: [PATCH] fix a typo in arch/cris/Makefile

fallout from "kbuild: cris use generic asm-offsets.h support" - symlink
target was wrong

---

 arch/cris/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

9812c3418f4068bb8940924a871e5bc0713d4e41
diff --git a/arch/cris/Makefile b/arch/cris/Makefile
index ea65d58..ee11469 100644
--- a/arch/cris/Makefile
+++ b/arch/cris/Makefile
@@ -119,7 +119,7 @@ $(SRC_ARCH)/.links:
 	@ln -sfn $(SRC_ARCH)/$(SARCH)/lib $(SRC_ARCH)/lib
 	@ln -sfn $(SRC_ARCH)/$(SARCH) $(SRC_ARCH)/arch
 	@ln -sfn $(SRC_ARCH)/$(SARCH)/vmlinux.lds.S $(SRC_ARCH)/kernel/vmlinux.lds.S
-	@ln -sfn $(SRC_ARCH)/$(SARCH)/asm-offsets.c $(SRC_ARCH)/kernel/asm-offsets.c
+	@ln -sfn $(SRC_ARCH)/$(SARCH)/kernel/asm-offsets.c $(SRC_ARCH)/kernel/asm-offsets.c
 	@touch $@
 
 # Create link to sub arch includes
-- 
0.99.9.GIT

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

* Re: cris: asm-offsets related build failure
  2006-01-19  8:57 ` Al Viro
@ 2006-01-19 16:34   ` Sam Ravnborg
  2006-01-19 19:03     ` Al Viro
  0 siblings, 1 reply; 4+ messages in thread
From: Sam Ravnborg @ 2006-01-19 16:34 UTC (permalink / raw)
  To: Al Viro; +Cc: Adrian Bunk, starvik, dev-etrax, linux-kernel

On Thu, Jan 19, 2006 at 08:57:30AM +0000, Al Viro wrote:
> On Thu, Jan 19, 2006 at 01:18:52AM +0100, Adrian Bunk wrote:
> > Hi Sam,
> > 
> > the following build failure is present on the cris architecture:
> > 
> > <--  snip  -->
> > 
> > ...
> > make[1]: *** No rule to make target `arch/cris/kernel/asm-offsets.c', 
> > needed by `arch/cris/kernel/asm-offsets.s'.  Stop.
> > make: *** [prepare0] Error 2
> 
> Subject: [PATCH] fix a typo in arch/cris/Makefile
> 
> fallout from "kbuild: cris use generic asm-offsets.h support" - symlink
> target was wrong
Hi Al.

Can I have a Signed-off-by: ... patch
or do you submit it yourself?

	Sam

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

* Re: cris: asm-offsets related build failure
  2006-01-19 16:34   ` Sam Ravnborg
@ 2006-01-19 19:03     ` Al Viro
  0 siblings, 0 replies; 4+ messages in thread
From: Al Viro @ 2006-01-19 19:03 UTC (permalink / raw)
  To: Sam Ravnborg; +Cc: Adrian Bunk, starvik, dev-etrax, linux-kernel

On Thu, Jan 19, 2006 at 05:34:33PM +0100, Sam Ravnborg wrote:
> On Thu, Jan 19, 2006 at 08:57:30AM +0000, Al Viro wrote:
> > On Thu, Jan 19, 2006 at 01:18:52AM +0100, Adrian Bunk wrote:
> > > Hi Sam,
> > > 
> > > the following build failure is present on the cris architecture:
> > > 
> > > <--  snip  -->
> > > 
> > > ...
> > > make[1]: *** No rule to make target `arch/cris/kernel/asm-offsets.c', 
> > > needed by `arch/cris/kernel/asm-offsets.s'.  Stop.
> > > make: *** [prepare0] Error 2
> > 
> > Subject: [PATCH] fix a typo in arch/cris/Makefile
> > 
> > fallout from "kbuild: cris use generic asm-offsets.h support" - symlink
> > target was wrong
> Hi Al.
> 
> Can I have a Signed-off-by: ... patch
> or do you submit it yourself?

Subject: [PATCH] fix a typo in arch/cris/Makefile

fallout from "kbuild: cris use generic asm-offsets.h support" - symlink
target was wrong

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
---

 arch/cris/Makefile |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

9812c3418f4068bb8940924a871e5bc0713d4e41
diff --git a/arch/cris/Makefile b/arch/cris/Makefile
index ea65d58..ee11469 100644
--- a/arch/cris/Makefile
+++ b/arch/cris/Makefile
@@ -119,7 +119,7 @@ $(SRC_ARCH)/.links:
 	@ln -sfn $(SRC_ARCH)/$(SARCH)/lib $(SRC_ARCH)/lib
 	@ln -sfn $(SRC_ARCH)/$(SARCH) $(SRC_ARCH)/arch
 	@ln -sfn $(SRC_ARCH)/$(SARCH)/vmlinux.lds.S $(SRC_ARCH)/kernel/vmlinux.lds.S
-	@ln -sfn $(SRC_ARCH)/$(SARCH)/asm-offsets.c $(SRC_ARCH)/kernel/asm-offsets.c
+	@ln -sfn $(SRC_ARCH)/$(SARCH)/kernel/asm-offsets.c $(SRC_ARCH)/kernel/asm-offsets.c
 	@touch $@
 
 # Create link to sub arch includes
-- 
0.99.9.GIT

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

end of thread, other threads:[~2006-01-19 19:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-01-19  0:18 cris: asm-offsets related build failure Adrian Bunk
2006-01-19  8:57 ` Al Viro
2006-01-19 16:34   ` Sam Ravnborg
2006-01-19 19:03     ` Al Viro

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).