Subject: IMAGEENDIAN for mipsel ports
To: None <port-mips@netbsd.org, port-hpcmips@netbsd.org>
From: FUKAUMI Naoki <naoki@fukaumi.org>
List: port-hpcmips
Date: 03/07/2002 15:26:23
Hello
I found recent changes about miniroot making.
IMAGEENDIAN env var is used for makefs -B option.
% pwd
/usr/src/distrib
% grep IMAGEENDIAN */miniroot/Makefile.inc
amiga/miniroot/Makefile.inc:IMAGEENDIAN= be
atari/miniroot/Makefile.inc:IMAGEENDIAN= be
hp300/miniroot/Makefile.inc:IMAGEENDIAN= be
hpcmips/miniroot/Makefile.inc:IMAGEENDIAN= be
mac68k/miniroot/Makefile.inc:IMAGEENDIAN= be
mvme68k/miniroot/Makefile.inc:IMAGEENDIAN= be
playstation2/miniroot/Makefile.inc:IMAGEENDIAN= be
pmax/miniroot/Makefile.inc:IMAGEENDIAN= be
sparc/miniroot/Makefile.inc:IMAGEENDIAN= be
vax/miniroot/Makefile.inc:IMAGEENDIAN= le
hpcmips, playstation2, and pmax are little-endian. And "options FFS_EI"
is not defined in kernel config file.
I made below patch. I'm making snapshot for hpcmips now, and I'll test
it as soon as possible.
Index: distrib/hpcmips/miniroot/Makefile.inc
===================================================================
RCS file: /cvsroot/basesrc/distrib/hpcmips/miniroot/Makefile.inc,v
retrieving revision 1.6
diff -u -r1.6 Makefile.inc
--- Makefile.inc 2002/03/06 12:04:51 1.6
+++ Makefile.inc 2002/03/07 06:07:10
@@ -1,7 +1,7 @@
# $NetBSD: Makefile.inc,v 1.6 2002/03/06 12:04:51 lukem Exp $
IMAGESIZE= 4m
-IMAGEENDIAN= be
+IMAGEENDIAN= le
MAKEDEVTARGETS= all
LISTS+= ${DISTRIBDIR}/common/list.sysinst
MTREECONF+= ${.CURDIR}/mtree.usr.install
Index: distrib/playstation2/miniroot/Makefile.inc
===================================================================
RCS file: /cvsroot/basesrc/distrib/playstation2/miniroot/Makefile.inc,v
retrieving revision 1.3
diff -u -r1.3 Makefile.inc
--- Makefile.inc 2002/03/06 12:04:53 1.3
+++ Makefile.inc 2002/03/07 06:07:10
@@ -1,7 +1,7 @@
# $NetBSD: Makefile.inc,v 1.3 2002/03/06 12:04:53 lukem Exp $
IMAGESIZE= 5m
-IMAGEENDIAN= be
+IMAGEENDIAN= le
MAKEDEVTARGETS= all
LISTS+= ${DISTRIBDIR}/common/list.sysinst
MTREECONF+= ${.CURDIR}/mtree.usr.install
Index: distrib/pmax/miniroot/Makefile.inc
===================================================================
RCS file: /cvsroot/basesrc/distrib/pmax/miniroot/Makefile.inc,v
retrieving revision 1.5
diff -u -r1.5 Makefile.inc
--- Makefile.inc 2002/03/06 12:04:53 1.5
+++ Makefile.inc 2002/03/07 06:07:10
@@ -1,7 +1,7 @@
# $NetBSD: Makefile.inc,v 1.5 2002/03/06 12:04:53 lukem Exp $
IMAGESIZE= 32m
-IMAGEENDIAN= be
+IMAGEENDIAN= le
MAKEDEVTARGETS= all
LISTS+= ${DISTRIBDIR}/common/list.sysinst
MTREECONF+= ${.CURDIR}/mtree.usr.install
--
FUKAUMI Naoki