diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-14 13:16:13 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-14 13:16:13 +0000 |
commit | ce687c223fabb02d2a3a797e85ee727d6a909fab (patch) | |
tree | f3a520758785bd3f5f271d192faf5aa24781b2f4 /meta | |
parent | adede582cd0d9b8b1aa90479d09c96386ee9a7a4 (diff) | |
download | openembedded-core-ce687c223fabb02d2a3a797e85ee727d6a909fab.tar.gz openembedded-core-ce687c223fabb02d2a3a797e85ee727d6a909fab.tar.bz2 openembedded-core-ce687c223fabb02d2a3a797e85ee727d6a909fab.zip |
package_ipk.bbclass: Tweak handling for all/any/noarch and nativesdk
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 56a1e73ecc..04b117b75d 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass @@ -122,7 +122,11 @@ package_generate_archlist () { for arch in $ipkgarchs; do sdkarch=`echo $arch | sed -e 's/${HOST_ARCH}/${SDK_ARCH}/'` echo "arch $arch $priority" >> ${IPKGCONF_TARGET} - echo "arch $sdkarch-nativesdk $priority" >> ${IPKGCONF_SDK} + extension=-nativesdk + if [ "$sdkarch" = "all" -o "$sdkarch" = "any" -o "$sdkarch" = "noarch" ]; then + extension="" + fi + echo "arch $sdkarch$extension $priority" >> ${IPKGCONF_SDK} priority=$(expr $priority + 5) done echo "arch ${SDK_ARCH}-${TARGET_ARCH}-canadian $priority" >> ${IPKGCONF_SDK} |