Subject: Re: kernel compile: big endian not recognized properly
To: None <tech-toolchain@netbsd.org>
From: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
List: tech-toolchain
Date: 10/26/2001 18:01:48
On Fri, 26 Oct 2001, Hubert Feyrer wrote:
> I don't know where the source for this is (config(8)?), but I guess this
> problem will show on all big-endian MIPS platforms, so if someone could
> please have a look...? Thanks!
Bla bla bla, post, and then you find the right place. Here's the real fix,
someone please review & commit:
Index: Makefile.mips
===================================================================
RCS file: /cvsroot/syssrc/sys/arch/mips/conf/Makefile.mips,v
retrieving revision 1.22
diff -u -r1.22 Makefile.mips
--- Makefile.mips 2001/10/23 20:40:02 1.22
+++ Makefile.mips 2001/10/26 15:58:04
@@ -15,9 +15,9 @@
.include <bsd.own.mk>
.if ${MACHINE_ARCH} == "mipsel"
-ENDIAN="-EL"
+ENDIAN=-EL
.elif ${MACHINE_ARCH} == "mipseb"
-ENDIAN="-EB"
+ENDIAN=-EB
.else
.BEGIN:
@echo "MACHINE_ARCH ${MACHINE_ARCH} is invalid"
- Hubert
--
Want to get a clue on IPv6 but don't know where to start? Try this:
* Basics -> http://www.onlamp.com/pub/a/onlamp/2001/05/24/ipv6_tutorial.html
* Setup -> http://www.onlamp.com/pub/a/onlamp/2001/06/01/ipv6_tutorial.html
Of course with your #1 IPv6 ready operating system -> http://www.NetBSD.org/