Messages in this thread | | | Date | Wed, 3 Apr 2002 14:05:01 -0600 | From | "M. R. Brown" <> | Subject | Re: [Linux-mips-kernel]error compiling kernel for mips |
| |
* 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. [unhandled content-type:application/pgp-signature] | |