summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-14 12:36:04 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-14 12:36:37 +0000
commitadede582cd0d9b8b1aa90479d09c96386ee9a7a4 (patch)
tree2ababb9a82268febfeb38104219aa2df86d4c8a9 /meta
parent9bad53754d84ae251b18e2a6c1eca0fc23419620 (diff)
downloadpoky-adede582cd0d9b8b1aa90479d09c96386ee9a7a4.tar.gz
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.bbclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index e67097fdd7..56a1e73ecc 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -103,8 +103,12 @@ package_generate_ipkg_conf () {
103 echo "src oe-$arch file:${DEPLOY_DIR_IPK}/$arch" >> ${IPKGCONF_TARGET} 103 echo "src oe-$arch file:${DEPLOY_DIR_IPK}/$arch" >> ${IPKGCONF_TARGET}
104 fi 104 fi
105 sdkarch=`echo $arch | sed -e 's/${HOST_ARCH}/${SDK_ARCH}/'` 105 sdkarch=`echo $arch | sed -e 's/${HOST_ARCH}/${SDK_ARCH}/'`
106 if [ -e ${DEPLOY_DIR_IPK}/$sdkarch-nativesdk/Packages ] ; then 106 extension=-nativesdk
107 echo "src oe-$sdkarch-nativesdk file:${DEPLOY_DIR_IPK}/$sdkarch-nativesdk" >> ${IPKGCONF_SDK} 107 if [ "$sdkarch" = "all" -o "$sdkarch" = "any" -o "$sdkarch" = "noarch" ]; then
108 extension=""
109 fi
110 if [ -e ${DEPLOY_DIR_IPK}/$sdkarch$extension/Packages ] ; then
111 echo "src oe-$sdkarch$extension file:${DEPLOY_DIR_IPK}/$sdkarch$extension" >> ${IPKGCONF_SDK}
108 fi 112 fi
109 done 113 done
110 if [ -e ${DEPLOY_DIR_IPK}/${SDK_ARCH}-${TARGET_ARCH}-canadian/Packages ] ; then 114 if [ -e ${DEPLOY_DIR_IPK}/${SDK_ARCH}-${TARGET_ARCH}-canadian/Packages ] ; then