summaryrefslogtreecommitdiff
path: root/meta/classes/package_deb.bbclass
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-08-01 12:11:22 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-02 14:31:44 +0100
commit587c1d5bac71fa6faa65ee3a271391cbf931e8f7 (patch)
tree8c47522a7ee53e0e24fbb3a2e287641fca4b7873 /meta/classes/package_deb.bbclass
parent46559f36d8a39655060b45d3d235de44a2c4c09b (diff)
downloadopenembedded-core-587c1d5bac71fa6faa65ee3a271391cbf931e8f7.tar.gz
openembedded-core-587c1d5bac71fa6faa65ee3a271391cbf931e8f7.tar.bz2
openembedded-core-587c1d5bac71fa6faa65ee3a271391cbf931e8f7.tar.xz
openembedded-core-587c1d5bac71fa6faa65ee3a271391cbf931e8f7.zip
bitbake.conf: Add SDK_PACKAGE_ARCHS
Add SDK_PACKAGE_ARCHS to avoid the sed operations we were previously doing inside of the variouns populate_sdk functions and related items. Also add documentation to populate_sdk to explain when the various functions are expected to be doing. Finally fix a bug in populate_sdk_rpm where the wrong value was being set, noticed while working on this change. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r--meta/classes/package_deb.bbclass6
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass
index 8e363f8d6..48aa23273 100644
--- a/meta/classes/package_deb.bbclass
+++ b/meta/classes/package_deb.bbclass
@@ -78,14 +78,10 @@ package_update_index_deb () {
return
fi
- for arch in ${PACKAGE_ARCHS}; do
- sdkarch=`echo $arch | sed -e 's/${HOST_ARCH}/${SDK_ARCH}/'`
+ for arch in ${PACKAGE_ARCHS} ${SDK_PACKAGE_ARCHS}; do
if [ -e ${DEPLOY_DIR_DEB}/$arch ]; then
debarchs="$debarchs $arch"
fi
- if [ -e ${DEPLOY_DIR_DEB}/$sdkarch-nativesdk ]; then
- debarchs="$debarchs $sdkarch-nativesdk"
- fi
done
for arch in $debarchs; do