diff options
author | Richard Purdie <rpurdie@rpsys.net> | 2007-09-05 21:40:03 +0000 |
---|---|---|
committer | Richard Purdie <rpurdie@rpsys.net> | 2007-09-05 21:40:03 +0000 |
commit | cd413adf1ba62cb4dc83f418998338be601ee912 (patch) | |
tree | 10e0b70596577d541077c3a62754b6ad605baed5 /classes/package_ipk.bbclass | |
parent | a27560d30d78ec8c4d8ea66423b3934ef4a9f86c (diff) |
package_ipk.bbclass: Improve directory existance check (from poky)
Diffstat (limited to 'classes/package_ipk.bbclass')
-rw-r--r-- | classes/package_ipk.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/classes/package_ipk.bbclass b/classes/package_ipk.bbclass index 31e42cd836..0b7f274a96 100644 --- a/classes/package_ipk.bbclass +++ b/classes/package_ipk.bbclass @@ -106,6 +106,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 |