summaryrefslogtreecommitdiff
path: root/classes/package_ipk.bbclass
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2007-02-20 08:02:34 +0000
committerKoen Kooi <koen@openembedded.org>2007-02-20 08:02:34 +0000
commit23ad6c5fc6e8a79fecf6b926fa4e42e8887f28ff (patch)
tree0830e88627e25d54ab823e6a50fdf6c461b88ac4 /classes/package_ipk.bbclass
parentf159eb4b635e0460f96eb1202780a2e7275bd3cb (diff)
package_ipk, rootfs_ipk: Add patch from Marcin and Koen to sort ipkgs into per architecture subdirs of deploy/ipk
see: http://lists.linuxtogo.org/pipermail/openembedded-devel/2007-February/001462.html
Diffstat (limited to 'classes/package_ipk.bbclass')
-rw-r--r--classes/package_ipk.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/classes/package_ipk.bbclass b/classes/package_ipk.bbclass
index 4c14409b9d..70bcdf6b7f 100644
--- a/classes/package_ipk.bbclass
+++ b/classes/package_ipk.bbclass
@@ -75,6 +75,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)