[yocto] Setting architecture of only DEB files (arm vs armel)

Khem Raj raj.khem at gmail.com
Thu Jun 14 23:18:19 PDT 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 6/14/2012 5:17 PM, Tyler Jones wrote:
> I am compiling a distro for my hardware using DEBs for my package 
> management. In meta/classes/package_deb.bbclass I need DPKG_ARCH =
> "armel" instead of TARGET_ARCH (which is "arm"). When I run dpkg on
> my device armel is the architecture, not arm, but yocto wants my
> TARGET_ARCH to be set to "arm". Is there a non hackish way to do
> this from my BSP layer or config file?
> 
> The dpkg error I get is: package architecture (arm) does not match
> system (armel)
> 

set DPKG_ARCH = "armel" in your local.conf

> -Tyler Jones
> 
> 
> 
> 
> _______________________________________________ yocto mailing list 
> yocto at yoctoproject.org 
> https://lists.yoctoproject.org/listinfo/yocto

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/a06sACgkQuwUzVZGdMxRBvgCeJAinKceaUDI8gQHPbvzGiOSt
tuQAnRDOpYZvovXfg6UHji6it4YehqvR
=7G4e
-----END PGP SIGNATURE-----



More information about the yocto mailing list