diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2011-08-01 12:11:22 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-02 14:32:11 +0100 |
commit | f9da3c269fd7c8260e3457f7f77b22ef659d3752 (patch) | |
tree | 53288a5bbee92d57af64b000b4009d80f77840c0 /meta/classes/package_deb.bbclass | |
parent | 0d5dfb29c359eb778182660e852a6aca273f8179 (diff) | |
download | poky-f9da3c269fd7c8260e3457f7f77b22ef659d3752.tar.gz |
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.
(From OE-Core rev: 587c1d5bac71fa6faa65ee3a271391cbf931e8f7)
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/package_deb.bbclass')
-rw-r--r-- | meta/classes/package_deb.bbclass | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/meta/classes/package_deb.bbclass b/meta/classes/package_deb.bbclass index 8e363f8d63..48aa232736 100644 --- a/meta/classes/package_deb.bbclass +++ b/meta/classes/package_deb.bbclass | |||
@@ -78,14 +78,10 @@ package_update_index_deb () { | |||
78 | return | 78 | return |
79 | fi | 79 | fi |
80 | 80 | ||
81 | for arch in ${PACKAGE_ARCHS}; do | 81 | for arch in ${PACKAGE_ARCHS} ${SDK_PACKAGE_ARCHS}; do |
82 | sdkarch=`echo $arch | sed -e 's/${HOST_ARCH}/${SDK_ARCH}/'` | ||
83 | if [ -e ${DEPLOY_DIR_DEB}/$arch ]; then | 82 | if [ -e ${DEPLOY_DIR_DEB}/$arch ]; then |
84 | debarchs="$debarchs $arch" | 83 | debarchs="$debarchs $arch" |
85 | fi | 84 | fi |
86 | if [ -e ${DEPLOY_DIR_DEB}/$sdkarch-nativesdk ]; then | ||
87 | debarchs="$debarchs $sdkarch-nativesdk" | ||
88 | fi | ||
89 | done | 85 | done |
90 | 86 | ||
91 | for arch in $debarchs; do | 87 | for arch in $debarchs; do |