populate_sdk_deb: Fix non x86_64 SDK builds
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 26 Jul 2014 09:13:21 +0000 (10:13 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Jul 2014 07:31:09 +0000 (08:31 +0100)
commit64e36e8303e95fa98cc409d603c49ef5e0f5bb48
tree9f14b90f17e5543fe37e201374f6a943a7e2b63c
parentfd59a798d36af62fabb7045f1bb3c1a1b52f7ebf
populate_sdk_deb: Fix non x86_64 SDK builds

If building with SDKMACHINE=i686 and using the deb backend, populate_sdk
would fail. Its clear when looking at the options that the 32 bit values
were overwritten.

Replace this code with code similar to that used in package_deb itself.

[YOCTO #6458]

(From OE-Core rev: 2a7c6f6d3e9d1eedffb79f2347400509feed5dd7)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/populate_sdk_deb.bbclass