Skip to contentSkip to conversation

cris: asm-offsets related build failure

DISCUSSION Adrian Bunk 3 participants 4 messages Jan 19, 2006

lore
Share & tools
lore
#0 lore raw

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

Signature · 4 lines
       "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
#1 lore raw
Quoted 10 lines · Adrian Bunk

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

arch/cris/Makefile +1 -1
index ea65d58..ee11469 100644
@@ -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
Signature · 1 line
0.99.9.GIT
#2 lore raw
Quoted 12 lines · Al Viro
Quoted 10 lines · Adrian Bunk

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

Quoted 4 lines

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

#3 lore raw
Quoted 13 lines · Sam Ravnborg
Quoted 12 lines · Al Viro
Quoted 10 lines · Adrian Bunk

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

Quoted 8 lines
Quoted 4 lines

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

---

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

9812c3418f4068bb8940924a871e5bc0713d4e41

arch/cris/Makefile +1 -1
index ea65d58..ee11469 100644
@@ -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
Signature · 1 line
0.99.9.GIT