Skip to contentSkip to conversation

Usagi kernel for MIPS target

DISCUSSION Santosh 2 participants 2 messages Mar 12, 2003

Subsystems (2)
lore
Share & tools
lore

Santosh

author
#0 lore raw

Hello All,

I'm interested in compiling Usagi kernel for a MIPS 32-bit board.
I have a set of MIPS cross-compiler tools, ex: mipsel-linux-gcc, etc and gcc version 2.95.3.

Can someone tell me what changes i have to make to compile the sources successfully for MIPS target ???

As anyone tested Usagi for MIPS target ?? Hints pls.

Thanks

-Santosh
-----------------------------------------

__________________________________________________________
Great Travel Deals, Airfares, Hotels on
http://www.journeymart.com/rediff/travel.asp

#1 lore raw

Re: (usagi-users 02263) Usagi kernel for MIPS target

Hello,

Quoted 2 lines · On 12 Mar 2003 07:08:17 -0000 "Santosh " <[email protected]> wrote:

Can someone tell me what changes i have to make to compile the sources successfully for MIPS target ???

I have never compiled USAGI for MIPS target, but I think you
should edit linux24/Makefile as following.

Makefile 2003-03-12 16:55:32.000000000 +0900 renamed from Makefile.orig 2003-03-12 16:55:06.000000000 +0900 +3 -2
@@ -5,7 +5,8 @@
 
 KERNELRELEASE=$(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
 
-ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
+#ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ -e s/arm.*/arm/ -e s/sa110/arm/)
+ARCH := mips
 KERNELPATH=kernel-$(shell echo $(KERNELRELEASE) | sed -e "s/-//g")
 
 CONFIG_SHELL := $(shell if [ -x "$$BASH" ]; then echo $$BASH; \
@@ -19,7 +20,7 @@
 HOSTCC         = gcc
 HOSTCFLAGS     = -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
 
-CROSS_COMPILE  =
+CROSS_COMPILE  = mips-linux-
 
 #
 # Include the make variables (CC, etc...)

Did this fail?

Best regards,