]> code.ossystems Code Review - openembedded-core.git/commitdiff
packaged-staging: fix up handling of crosssdk packages
authorJoshua Lock <josh@linux.intel.com>
Mon, 25 Jan 2010 15:31:01 +0000 (15:31 +0000)
committerJoshua Lock <josh@linux.intel.com>
Fri, 29 Jan 2010 12:33:45 +0000 (12:33 +0000)
The packaged-staging class already special cases native packages for ensuring
the package is only reused if the path doesn't change.

This patch ensures the special casing is also done for crosssdk packages.

Signed-off-by: Joshua Lock <josh@linux.intel.com>
meta/classes/packaged-staging.bbclass

index 9a20761ff3000d85488d7f5510d6043beda6b0b4..cdee42256e457a7d9fc8b30e565d35b141f19e17 100644 (file)
@@ -31,7 +31,7 @@ python () {
 
     # These classes encode staging paths into the binary data so can only be
     # reused if the path doesn't change/
-    if bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d) or bb.data.inherits_class('sdk', d):
+    if bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d) or bb.data.inherits_class('sdk', d) or bb.data.inherits_class('crosssdk', d):
         path = bb.data.getVar('PSTAGE_PKGPATH', d, 1)
         path = path + bb.data.getVar('TMPDIR', d, 1).replace('/', '-')
         bb.data.setVar('PSTAGE_PKGPATH', path, d)