From: myuboot on
Thanks. This issue is fixed now. In 2.6.31 the directory
include/asm-mips is moved as arch/mips/include/asm/. I need to change
my Makefile accordingly.

On Fri, 16 Oct 2009 16:50 -0700, "David Daney"
<ddaney(a)caviumnetworks.com> wrote:
> mips-linux questions will get more attention if you send them to
> linux-mips(a)linux-mips.org.
>
>
> myuboot(a)fastmail.fm wrote:
> > I am trying to use buildroot 2009.08 to compile kernel 2.6.31 for mips,
> > but it fails to error -" war.h can't be found". I used the same
> > buildroot to build kernel version 2.6.29 with no problem.
> >
> > Please give me some suggestion on how to fix this issue. The file
> > ./arch/mips/include/asm/war.h is there with no problem. Thanks a lot.
> >
> [...]
> > CC arch/mips/kernel/asm-offsets.s
> > In file included from
> > /home/root123/sources/buildroot-2009.08-k/project_build_mips/f1/linux-2.6.31/arch/mips/include/asm/bitops.h:24,
> > from include/linux/bitops.h:17,
> > from include/linux/kernel.h:15,
> > from include/linux/sched.h:52,
> > from arch/mips/kernel/asm-offsets.c:13:
>
> What does your .config look like?
>
> Also try make V=1 so we can see the exact compiler command line that the
> build process is generating.
>
> David Daney
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/