On Wed, 2002-04-03 at 14:05, Abdij Bhat wrote:
> 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
Check out this line in the base level makefile:
ARCH :=3D $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e
s/arm.*/arm/ -e s/sa110/arm/)
This actually looks broken for cross-compile, but I haven't been
following the changes particularly closely...try using this instead:
ARCH :=3D mips
Really, though if you're compiling for mips you should probably grab the
mips-linux CVS sources here:
cvs -d :pserver:cvs@oss.sgi.com:/cvs login
(Only needed the first time you use anonymous CVS, the password is
"cvs")
cvs -d :pserver:cvs@oss.sgi.com:/cvs co <repository>
There's a 2.4 tagged branch that's probably closer to what you want. You
can ask for mips-specific on linux-mips@oss.sgi.com, and you'll be much
more likely to get a prompt and useful answer.
-Justin
--=-+vLRZy0fRPBNM70sOsPX
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQA8q1bV47Lg4cGgb74RApJ3AJ9PJdbL07wl8a+N4EpLC1B2ZH8TJQCgnl9F
CL232f4BX2cG7u0O5vIV0ro=
=t8ck
-----END PGP SIGNATURE-----
--=-+vLRZy0fRPBNM70sOsPX--
-
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/