For dpkg EABI system architecture is called armel, not arm. Reference: http://wiki.debian.org/ArmEabiPort
Signed-off-by: Filip Zyzniewski <filip.zyzniew...@gmail.com> --- classes/package_deb.bbclass | 2 ++ recipes/apt/apt_0.7.20.2.bb | 21 ++++++++++++--------- 2 files changed, 14 insertions(+), 9 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) diff --git a/recipes/apt/apt_0.7.20.2.bb b/recipes/apt/apt_0.7.20.2.bb index 5c932a5..e17d593 100644 --- a/recipes/apt/apt_0.7.20.2.bb +++ b/recipes/apt/apt_0.7.20.2.bb @@ -13,15 +13,18 @@ require apt-package.inc FILES_${PN} += "${bindir}/apt-key" -do_stage() { - install -d ${STAGING_LIBDIR} ${STAGING_INCDIR}/apt-pkg - eval `cat environment.mak | grep ^GLIBC_VER | sed -e's, = ,=,'` - oe_libinstall -so -C bin libapt-pkg$GLIBC_VER-6 ${STAGING_LIBDIR}/ - ln -sf libapt-pkg$GLIBC_VER-6.so ${STAGING_LIBDIR}/libapt-pkg.so - oe_libinstall -so -C bin libapt-inst$GLIBC_VER-6 ${STAGING_LIBDIR}/ - ln -sf libapt-inst$GLIBC_VER-6.so ${STAGING_LIBDIR}/libapt-inst.so - - install -m 0644 include/apt-pkg/*.h ${STAGING_INCDIR}/apt-pkg/ +fix_eabi_architecture() { + sed -i \ + 's:^#define COMMON_ARCH "arm"$:#define COMMON_ARCH "armel":' \ + ${S}/include/config.h +} + +do_configure_append_linux-gnueabi() { + fix_eabi_architecture +} + +do_configure_append_linux-uclibceabi() { + fix_eabi_architecture } SRC_URI[md5sum] = "e6ee1b594f6ed5fab5cb593ee46cfc21" -- 1.7.1 _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel