mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 17:19:20 +00:00
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
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user