| Submitter | Filip Zyzniewski |
|---|---|
| Date | Feb. 18, 2011, 9:16 p.m. |
| Message ID | <1298063776-2260-1-git-send-email-filip.zyzniewski@gmail.com> |
| Download | mbox | patch |
| Permalink | /patch/717/ |
| State | Superseded |
| Headers | show |
Comments
On 02/18/2011 02:16 PM, Filip Zyzniewski wrote: > For dpkg EABI system architecture is called armel, not arm. > > Signed-off-by: Filip Zyzniewski<filip.zyzniewski@gmail.com> > --- > classes/package_deb.bbclass | 2 ++ > 1 files changed, 2 insertions(+), 0 deletions(-) > > diff --git a/classes/package_deb.bbclass b/classes/package_deb.bbclass > index 60e759d..87f31fa 100644 > --- a/classes/package_deb.bbclass > +++ b/classes/package_deb.bbclass > @@ -15,6 +15,8 @@ DPKG_ARCH_i486 ?= "i386" > DPKG_ARCH_i586 ?= "i386" > DPKG_ARCH_i686 ?= "i386" > DPKG_ARCH_pentium ?= "i386" > +DPKG_ARCH_linux-gnueabi ?= "armel" > +DPKG_ARCH_linux-uclibceabi ?= "armel" > > python package_deb_fn () { > bb.data.setVar('PKGFN', bb.data.getVar('PKG',d), d) I'm a little puzzled. So little endian gnueabi ARM is armel, little endian OABI ARM is arm. What about big endian ARM cases? Thanks!
On 2/18/11, Tom Rini <tom_rini@mentor.com> wrote: > I'm a little puzzled. So little endian gnueabi ARM is armel, little > endian OABI ARM is arm. What about big endian ARM cases? Thanks! According to http://wiki.debian.org/ArmEabiPort: ================== At the Extremadura emdebian meeting, 12-16 April 2006, the name "armel" was chosen. If a bigendian arm EABI port will be created, it will be called "armeb", and it will replace the previous oldabi-based "armeb" port effort. ================== bye, Filip Zyzniewski
On Fri, 2011-02-18 at 14:50 -0700, Tom Rini wrote: > I'm a little puzzled. So little endian gnueabi ARM is armel, little > endian OABI ARM is arm. What about big endian ARM cases? Thanks! Debian has never had big-endian ARM as an officially supported architecture, so to that extent there's no precedent to follow in this area. The natural name for a big-endian gnueabi port would obviously be "armeb". That does leave big-endian OABI somewhat out in the cold but, given that OABI has been obsolescent for the best part of a decade, this doesn't seem totally unreasonable. If anybody did want to use dpkg with such a thing (and wanted to avoid colliding with armeb) then I guess they'd have to name it "armob" or something. p.
Patch
diff --git a/classes/package_deb.bbclass b/classes/package_deb.bbclass index 60e759d..87f31fa 100644 --- a/classes/package_deb.bbclass +++ b/classes/package_deb.bbclass @@ -15,6 +15,8 @@ DPKG_ARCH_i486 ?= "i386" DPKG_ARCH_i586 ?= "i386" DPKG_ARCH_i686 ?= "i386" DPKG_ARCH_pentium ?= "i386" +DPKG_ARCH_linux-gnueabi ?= "armel" +DPKG_ARCH_linux-uclibceabi ?= "armel" python package_deb_fn () { bb.data.setVar('PKGFN', bb.data.getVar('PKG',d), d)
For dpkg EABI system architecture is called armel, not arm. Signed-off-by: Filip Zyzniewski <filip.zyzniewski@gmail.com> --- classes/package_deb.bbclass | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)