summaryrefslogtreecommitdiff
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-09-05 21:17:46 +0000
committerRichard Purdie <richard@openedhand.com>2007-09-05 21:17:46 +0000
commit4eaac5b5debe5a719765f547651b7c62ed41bc9b (patch)
tree4677b9f2338496b54e36e50e40866f620c4fd3fd /meta/classes
parent911d2ed2f48f5c945223868f4fd7368cd94a690a (diff)
downloadopenembedded-core-4eaac5b5debe5a719765f547651b7c62ed41bc9b.tar.gz
openembedded-core-4eaac5b5debe5a719765f547651b7c62ed41bc9b.tar.bz2
openembedded-core-4eaac5b5debe5a719765f547651b7c62ed41bc9b.tar.xz
openembedded-core-4eaac5b5debe5a719765f547651b7c62ed41bc9b.zip
package_ipk.bbclass: Create sdk Packages files
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2700 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/package_ipk.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass
index 06b161389..9efe30899 100644
--- a/meta/classes/package_ipk.bbclass
+++ b/meta/classes/package_ipk.bbclass
@@ -83,6 +83,10 @@ package_update_index_ipk () {
touch ${DEPLOY_DIR_IPK}/$arch/Packages
ipkg-make-index -r ${DEPLOY_DIR_IPK}/$arch/Packages -p ${DEPLOY_DIR_IPK}/$arch/Packages -l ${DEPLOY_DIR_IPK}/$arch/Packages.filelist -m ${DEPLOY_DIR_IPK}/$arch/
fi
+ if [ -e ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/ ] ; then
+ touch ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/Packages
+ ipkg-make-index -r ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/Packages -p ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/Packages -l ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/Packages.filelist -m ${DEPLOY_DIR_IPK}/${BUILD_ARCH}-$arch-sdk/
+ fi
done
}