Re: cris: asm-offsets related build failure

From: Al Viro
Date: Thu Jan 19 2006 - 14:01:49 EST


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@xxxxxxxxxxxxxxxxxx>
---

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/