linux-mips
[Top] [All Lists]

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

To: usagi-users@linux-ipv6.org
Subject: Re: (usagi-users 02263) Usagi kernel for MIPS target
From: KUNITAKE Koichi <kunitake@linux-ipv6.org>
Date: Wed, 12 Mar 2003 17:01:41 +0900
Cc: linux-mips@linux-mips.org
In-reply-to: <20030312070817.21025.qmail@webmail29.rediffmail.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20030312070817.21025.qmail@webmail29.rediffmail.com>
Sender: linux-mips-bounce@linux-mips.org
  Hello,

On 12 Mar 2003 07:08:17 -0000
"Santosh " <ipv6_san@rediffmail.com> 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.orig       2003-03-12 16:55:06.000000000 +0900
+++ Makefile    2003-03-12 16:55:32.000000000 +0900
@@ -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,

<Prev in Thread] Current Thread [Next in Thread>