Bug#414085: dpkg-cross: Please add armel (arm EABI) support
Package: dpkg-cross
Version: 1.32
Severity: wishlist
Tags: patch
Here is a preliminary patch that adds armel support to dpkg-cross
The ac_cv_sizeof_foo should be checked but it seems to work.
-- System Information:
Debian Release: 4.0
APT prefers testing
APT policy: (500, 'testing'), (50, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-k7
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages dpkg-cross depends on:
ii binutils 2.17-3 The GNU assembler, linker and bina
ii dpkg-dev 1.13.25 package building tools for Debian
ii file 4.17-5 Determines file type using "magic"
dpkg-cross recommends no packages.
-- no debconf information
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
diff -urN dpkg-cross-1.35/cross-compile.sgml dpkg-cross-1.36/cross-compile.sgml
--- dpkg-cross-1.35/cross-compile.sgml 2005-10-19 21:20:34.000000000 +0100
+++ dpkg-cross-1.36/cross-compile.sgml 2007-02-25 15:48:00.000000000 +0000
@@ -11,7 +11,7 @@
<!ENTITY seealso "&man_dpkg-cross;, &man_cross-compile;, &readme-debian;">
<!ENTITY year "1997">
<!ENTITY username "Roman Hodek">
- <!ENTITY useremail "<email><roman@hodek.net></email>">
+ <!ENTITY useremail "<email><debian-embedded@lists.debian.org></email>">
]>
<refentry>
<refmeta>
diff -urN dpkg-cross-1.35/cross-config.armel dpkg-cross-1.36/cross-config.armel
--- dpkg-cross-1.35/cross-config.armel 1970-01-01 01:00:00.000000000 +0100
+++ dpkg-cross-1.36/cross-config.armel 2005-12-08 07:30:11.000000000 +0000
@@ -0,0 +1,19 @@
+ac_cv_c_bigendian=no
+ac_cv_c_char_unsigned=yes
+ac_cv_sizeof_long_long=8
+ac_cv_sizeof_unsigned_long_long=8
+ac_cv_sizeof_long=4
+ac_cv_sizeof_unsigned_long=4
+ac_cv_sizeof_int=4
+ac_cv_sizeof_unsigned_int=4
+ac_cv_sizeof_short=2
+ac_cv_sizeof_unsigned_short=2
+ac_cv_sizeof_char=1
+ac_cv_sizeof_unsigned_char=1
+ac_cv_sizeof_signed_char=1
+ac_cv_sizeof_float=4
+ac_cv_sizeof_double=8
+ac_cv_sizeof_long_double=8
+ac_cv_sizeof_void_p=4
+ac_cv_sizeof_char_p=4
+ac_cv_sizeof_off_t=4
diff -urN dpkg-cross-1.35/debian/changelog dpkg-cross-1.36/debian/changelog
--- dpkg-cross-1.35/debian/changelog 2007-02-10 11:39:05.000000000 +0000
+++ dpkg-cross-1.36/debian/changelog 2007-02-25 15:49:19.000000000 +0000
@@ -1,3 +1,10 @@
+dpkg-cross (1.36) unstable; urgency=low
+
+ * Add armel architecture
+ * Update docs to point at debian-embedded list
+
+ -- Wookey <wookey@debain.org> Sun, 25 Feb 2007 15:48:26 +0000
+
dpkg-cross (1.35) unstable; urgency=low
* [l10n] Czech translation of dpkg-cross debconf messages
diff -urN dpkg-cross-1.35/debian/dpkg-cross.templates dpkg-cross-1.36/debian/dpkg-cross.templates
--- dpkg-cross-1.35/debian/dpkg-cross.templates 2007-02-07 10:31:24.000000000 +0000
+++ dpkg-cross-1.36/debian/dpkg-cross.templates 2007-02-25 15:46:42.000000000 +0000
@@ -2,7 +2,7 @@
Type: select
# Translators: "None" here refers to "architecture"
#flag:translate:1
-__Choices: None, alpha, amd64, arm, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390, sparc
+__Choices: None, alpha, amd64, arm, armeb, armel, hppa, i386, ia64, m68k, mips, mipsel, powerpc, s390, sparc
Default: None
_Description: Default cross-building architecture:
If this machine is typically cross-building for one main architecture,
diff -urN dpkg-cross-1.35/dpkg-cross.pl dpkg-cross-1.36/dpkg-cross.pl
--- dpkg-cross-1.35/dpkg-cross.pl 2007-01-21 14:29:53.000000000 +0000
+++ dpkg-cross-1.36/dpkg-cross.pl 2007-02-25 16:18:26.000000000 +0000
@@ -52,7 +52,8 @@
'alpha' => 'alpha-linux-gnu',
'm68k' => 'm68k-linux-gnu',
'arm' => 'arm-linux-gnu',
- 'armeb' => 'armeb-linux-gnu',
+ 'armeb' => 'armeb-linux-gnueabi',
+ 'armel' => 'arm-linux-gnueabi',
'powerpc' => 'powerpc-linux-gnu',
'ppc' => 'powerpc-linux-gnu',
'mips' => 'mips-linux-gnu',
Reply to: