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

M. R. Brown (mrbrown@0xd6.org)
Wed, 3 Apr 2002 14:05:01 -0600


--LZvS9be/3tNcYl/X
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* 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 mi=
ps.
> How to i do this? What do i need to do inorder for the make to get the ri=
ght
> architecture? Or is there some other problem too?
>=20

You need to pass something like:

$ make ARCH=3Dmips CROSS_COMPILE=3Dmipsel-linux- config dep clean vmlinux

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

M. R.

--LZvS9be/3tNcYl/X
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)

iD8DBQE8q2BsaK6pP/GNw0URArnuAKCEnvcHv+N/jAHp061/eZMcfDzN6ACfQZWq
VUTn00w8rlQlxh6tAbLsJVQ=
=c1UO
-----END PGP SIGNATURE-----

--LZvS9be/3tNcYl/X--
-
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/