Re: [Linux-mips-kernel]error compiling kernel for mips

From: M. R. Brown (mrbrown@0xd6.org)
Date: Wed Apr 03 2002 - 15:05:01 EST


* Abdij Bhat <Abdij.Bhat@kshema.com> on Thu, Apr 04, 2002:

> Hi,
> When i try compiling the Kernel for mips i get errors. The kernel is 2.4.17
> downloaded from www.kernel.org. I have the mips developments environment
> set. I have (hopefully) the right headers and have modified the makefile to
> get the headers from those include directories.
> My main problem is changing the architecture from arch686 ( mine ) to mips.
> How to i do this? What do i need to do inorder for the make to get the right
> architecture? Or is there some other problem too?
>

You need to pass something like:

$ make ARCH=mips CROSS_COMPILE=mipsel-linux- config dep clean vmlinux

So that the kernel build system knows that you are cross-compiling.

M. R.



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



This archive was generated by hypermail 2b29 : Sun Apr 07 2002 - 22:00:12 EST