Linux kernel for MIPS architecture
Hi,
I want to compile the entire Linux Kernel 2.4.20 for MIPS architecture.
I have mipsel-linux-gcc cross compiler.
Is this cross compiler enough or i need something else..?? Can any one suggest me from where to start with...?? What changes to be made in the Makefile..???
-San
Hi,
Change the following in the top level makefile
CROSS_COMPILE=mipsel-linux-
ARCH=mips
And change the linkinclude/asm
of the top directory to point to
the asm-mips there.
Then try configuring and compiling the kernel
as usual.
Hope this helps
Regards
KK
Quoted 9 lines · you
Hi,
I want to compile the entire Linux Kernel 2.4.20 for MIPS architecture.
I have mipsel-linux-gcc cross compiler.
Is this cross compiler enough or i need something else..?? Can any one suggest me from where to start with...?? What changes to be made in theMakefile..???-San
Quoted 4 lines · Krishnakumar. R
Change the following in the top level makefile
CROSS_COMPILE=mipsel-linux-
ARCH=mips
Or always say make CROSS_COMPILE=mipsel-linux- ARCH=mips' instead of make'.
Quoted 4 lines
And change the link
include/asm
of the top directory to point to
the asm-mips there.
Changing the link is not necessay. `make config' will do that for you.
Quoted 6 lines
Then try configuring and compiling the kernel
as usual.Quoted 2 lines · you
I want to compile the entire Linux Kernel 2.4.20
for MIPS architecture.
And most probably you'll want to use the kernel source tree from Linux/MIPS CVS, not the one on ftp.kernel.org.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds