summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2010-01-25 15:31:01 +0000
committerJoshua Lock <josh@linux.intel.com>2010-01-29 12:33:45 +0000
commit9ff304510e6ae49c3ee0432dfe4d6ff2156e0ee3 (patch)
tree177fc800c6fb0e128c241680b1fd4395f18ef584
parent9737011e5f5bbe58463e74f1cde43a3b71845215 (diff)
downloadpoky-9ff304510e6ae49c3ee0432dfe4d6ff2156e0ee3.tar.gz
packaged-staging: fix up handling of crosssdk packages
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>
-rw-r--r--meta/classes/packaged-staging.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/packaged-staging.bbclass b/meta/classes/packaged-staging.bbclass
index 9a20761ff3..cdee42256e 100644
--- a/meta/classes/packaged-staging.bbclass
+++ b/meta/classes/packaged-staging.bbclass
@@ -31,7 +31,7 @@ python () {
31 31
32 # These classes encode staging paths into the binary data so can only be 32 # These classes encode staging paths into the binary data so can only be
33 # reused if the path doesn't change/ 33 # reused if the path doesn't change/
34 if bb.data.inherits_class('native', d) or bb.data.inherits_class('cross', d) or bb.data.inherits_class('sdk', d): 34 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):
35 path = bb.data.getVar('PSTAGE_PKGPATH', d, 1) 35 path = bb.data.getVar('PSTAGE_PKGPATH', d, 1)
36 path = path + bb.data.getVar('TMPDIR', d, 1).replace('/', '-') 36 path = path + bb.data.getVar('TMPDIR', d, 1).replace('/', '-')
37 bb.data.setVar('PSTAGE_PKGPATH', path, d) 37 bb.data.setVar('PSTAGE_PKGPATH', path, d)