[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

dpkg to support new sh architectures



Hi and happy new year,

It seems there is no objection against dpkg getting to support four
different architectures for sh.  I wish to see these changes in both
1.9 and 1.10 branches.

Other patches for dpkg-architecture.pl and enquiry.c should be more
discussed here and introduced into 1.10 branch first.

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: