diff options
author | Richard Purdie <richard@openedhand.com> | 2007-09-05 07:53:21 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-09-05 07:53:21 +0000 |
commit | 763dc8a90934e74feab6959917fa913dc6568956 (patch) | |
tree | bc684c584856a50dd34ee9252f9cdd37c6302b03 /meta | |
parent | c518632b24e0a05d7e8c417bcf615793b66c5ec4 (diff) | |
download | openembedded-core-763dc8a90934e74feab6959917fa913dc6568956.tar.gz openembedded-core-763dc8a90934e74feab6959917fa913dc6568956.tar.bz2 openembedded-core-763dc8a90934e74feab6959917fa913dc6568956.zip |
package_ipk.bbclass: Split ipk deploy directory by PACKAGE_ARCH (from OE)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2692 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 9e654aac5e..06b161389f 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass @@ -101,6 +101,10 @@ package_generate_ipkg_conf () { echo "arch $arch $priority" >> ${IPKGCONF_TARGET} echo "arch ${BUILD_ARCH}-$arch-sdk $priority" >> ${IPKGCONF_SDK} priority=$(expr $priority + 5) + if [ -e ${DEPLOY_DIR_IPK}/$arch/Packages ] ; then + echo "src oe-$arch file:${DEPLOY_DIR_IPK}/$arch" >> ${IPKGCONF_TARGET} + echo "src oe-$arch file:${DEPLOY_DIR_IPK}/$arch" >> ${IPKGCONF_SDK} + fi done } @@ -117,6 +121,9 @@ python do_package_ipk () { if not outdir: bb.error("DEPLOY_DIR_IPK not defined, unable to package") return + + arch = bb.data.getVar('PACKAGE_ARCH', d, 1) + outdir = "%s/%s" % (outdir, arch) bb.mkdirhier(outdir) dvar = bb.data.getVar('D', d, 1) |