Re: cris: asm-offsets related build failure

From: Al Viro
Date: Thu Jan 19 2006 - 03:56:03 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/