summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-09-05 21:31:49 +0000
committerRichard Purdie <richard@openedhand.com>2007-09-05 21:31:49 +0000
commitf0842c2336c20ccd6febe73188547b587739eee3 (patch)
treebe7171e1724e803a7dece7a9ecf03793f7953885 /meta/classes
parent027fa671f4ee7f2fee7cb30466a1b6179147332b (diff)
downloadopenembedded-core-f0842c2336c20ccd6febe73188547b587739eee3.tar.gz
openembedded-core-f0842c2336c20ccd6febe73188547b587739eee3.tar.bz2
openembedded-core-f0842c2336c20ccd6febe73188547b587739eee3.zip
package_ipk.bbclass: Improve directory existence check
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2702 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package_ipk.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 6cb0a4111e..4329d01b8f 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -107,6 +107,8 @@ package_generate_ipkg_conf () {
priority=$(expr $priority + 5)
if [ -e ${DEPLOY_DIR_IPK}/$arch/Packages ] ; then
echo "src oe-$arch file:${DEPLOY_DIR_IPK}/$arch" >> ${IPKGCONF_TARGET}
+ fi
+ if [ -e ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/Packages ] ; then
echo "src oe-${BUILD_ARCH}-$arch-sdk file:${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk" >> ${IPKGCONF_SDK}
fi
done