diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-14 12:36:04 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-01-14 12:36:37 +0000 |
commit | adede582cd0d9b8b1aa90479d09c96386ee9a7a4 (patch) | |
tree | 2ababb9a82268febfeb38104219aa2df86d4c8a9 /meta | |
parent | 9bad53754d84ae251b18e2a6c1eca0fc23419620 (diff) | |
download | openembedded-core-adede582cd0d9b8b1aa90479d09c96386ee9a7a4.tar.gz openembedded-core-adede582cd0d9b8b1aa90479d09c96386ee9a7a4.tar.bz2 openembedded-core-adede582cd0d9b8b1aa90479d09c96386ee9a7a4.tar.xz openembedded-core-adede582cd0d9b8b1aa90479d09c96386ee9a7a4.zip |
package_ipk.bbclass: Add 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 | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index e67097fdd..56a1e73ec 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass @@ -103,8 +103,12 @@ package_generate_ipkg_conf () { echo "src oe-$arch file:${DEPLOY_DIR_IPK}/$arch" >> ${IPKGCONF_TARGET} fi sdkarch=`echo $arch | sed -e 's/${HOST_ARCH}/${SDK_ARCH}/'` - if [ -e ${DEPLOY_DIR_IPK}/$sdkarch-nativesdk/Packages ] ; then - echo "src oe-$sdkarch-nativesdk file:${DEPLOY_DIR_IPK}/$sdkarch-nativesdk" >> ${IPKGCONF_SDK} + extension=-nativesdk + if [ "$sdkarch" = "all" -o "$sdkarch" = "any" -o "$sdkarch" = "noarch" ]; then + extension="" + fi + if [ -e ${DEPLOY_DIR_IPK}/$sdkarch$extension/Packages ] ; then + echo "src oe-$sdkarch$extension file:${DEPLOY_DIR_IPK}/$sdkarch$extension" >> ${IPKGCONF_SDK} fi done if [ -e ${DEPLOY_DIR_IPK}/${SDK_ARCH}-${TARGET_ARCH}-canadian/Packages ] ; then |