From: "M. R. Brown" <mrbrown@0xd6.org>
To: Abdij Bhat <Abdij.Bhat@kshema.com>
Cc: "'linux-kernel@vger.kernel.org'" <linux-kernel@vger.kernel.org>,
"'linux-mips-kernel@lists.sourceforge.net'"
<linux-mips-kernel@lists.sourceforge.net>
Subject: Re: [Linux-mips-kernel]error compiling kernel for mips
Date: Wed, 3 Apr 2002 14:05:01 -0600 [thread overview]
Message-ID: <20020403200501.GA14938@0xd6.org> (raw)
In-Reply-To: <91A7E7FABAF3D511824900B0D0F95D10136FD5@BHISHMA>
[-- Attachment #1: Type: text/plain, Size: 761 bytes --]
* 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.
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2002-04-03 20:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-03 19:05 error compiling kernel for mips Abdij Bhat
2002-04-03 19:24 ` Justin Carlson
2002-04-04 17:12 ` Maciej W. Rozycki
2002-04-03 20:05 ` M. R. Brown [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020403200501.GA14938@0xd6.org \
--to=mrbrown@0xd6.org \
--cc=Abdij.Bhat@kshema.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mips-kernel@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox