Debian for SuperH bootstrapping
Hi,
As the recent discussions in SuperH lists, we should have four
different architectures for SuperH, namely sh3, sh4, sh3eb, sh4eb.
With this scheme NIIBE Yutaka has maintained the newer deb set seen at
ftp://ftp.m17n.org/pub/super-h/testing/debian-011210/.
We need to update packaging tools such as dpkg and dpkg-cross. For
dpkg it works for me with following patch. (NIIBE said he had another
patch for main/enquiry.c)
Any comments? I wonder if there are any users of current "binary-sh"
binaries of sid.
Index: archtable
===================================================================
RCS file: /cvs/dpkg/dpkg/archtable,v
retrieving revision 1.20
diff -u -r1.20 archtable
--- archtable 2001/10/21 17:58:07 1.20
+++ archtable 2001/12/29 20:16:57
@@ -35,13 +35,10 @@
i386-gnu0.2 hurd-i386 undefined
ia64-linux-gnu ia64 ia64
ia64-unknown-linux ia64 ia64
-sh-linux-gnu sh sh
-sheb-linux-gnu sheb sheb
-shel-linux-gnu sh sh
-sh3-linux-gnu sh sh
-sh4-linux-gnu sh sh
-sh3eb-linux-gnu sheb sheb
-sh4eb-linux-gnu sheb sheb
+sh3-linux-gnu sh3 sh3
+sh4-linux-gnu sh4 sh4
+sh3eb-linux-gnu sh3eb sh3eb
+sh4eb-linux-gnu sh4eb sh4eb
hppa-linux-gnu hppa hppa
hppa1.1-linux-gnu hppa hppa
hppa2.0-linux-gnu hppa hppa
Index: scripts/dpkg-architecture.pl
===================================================================
RCS file: /cvs/dpkg/dpkg/scripts/dpkg-architecture.pl,v
retrieving revision 1.24
diff -u -r1.24 dpkg-architecture.pl
--- scripts/dpkg-architecture.pl 2001/10/21 17:58:07 1.24
+++ scripts/dpkg-architecture.pl 2001/12/29 20:16:58
@@ -56,8 +56,10 @@
'powerpc', 'powerpc-linux',
'mips', 'mips-linux',
'mipsel', 'mipsel-linux',
- 'sh', 'sh-linux',
- 'sheb', 'sheb-linux',
+ 'sh3', 'sh3-linux',
+ 'sh4', 'sh4-linux',
+ 'sh3eb', 'sh3eb-linux',
+ 'sh4eb', 'sh4eb-linux',
'hppa', 'hppa-linux',
'hurd-i386', 'i386-gnu',
's390', 's390-linux',
@@ -96,7 +98,6 @@
s/(?:i386|i486|i586|i686|pentium)(.*linux)/i386$1/;
s/ppc/powerpc/;
- s/sh[34]/sh/;
return $_;
}
--
YAEGASHI Takeshi <t@keshi.org> <takeshi@yaegashi.jp> <yaegashi@dodes.org>
Reply to: