[lkml]   [2002]   [Apr]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: error compiling kernel for mips
    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 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?

    Check out this line in the base level makefile:

    ARCH := $(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 := mips

    Really, though if you're compiling for mips you should probably grab the
    mips-linux CVS sources here:

    cvs -d login
    (Only needed the first time you use anonymous CVS, the password is
    cvs -d co <repository>

    There's a 2.4 tagged branch that's probably closer to what you want. You
    can ask for mips-specific on, and you'll be much
    more likely to get a prompt and useful answer.


    [unhandled content-type:application/pgp-signature]
     \ /
      Last update: 2005-03-22 13:22    [W:2.270 / U:3.552 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site