summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-11-13 15:37:50 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2009-11-13 15:37:50 +0000
commit91989087553a608b0988f8b9ed3b93dba7cf48c8 (patch)
treefd233fe7f59956c11523ea18e32b054bf1e7a6ef
parente2677471e6bf9fe775e6db4cd958869f530c355f (diff)
downloadopenembedded-core-91989087553a608b0988f8b9ed3b93dba7cf48c8.tar.gz
openembedded-core-91989087553a608b0988f8b9ed3b93dba7cf48c8.tar.bz2
openembedded-core-91989087553a608b0988f8b9ed3b93dba7cf48c8.tar.xz
openembedded-core-91989087553a608b0988f8b9ed3b93dba7cf48c8.zip
cross.bbclass: Override the sysroot_stage_all to work appropriately for cross packages
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rw-r--r--meta/classes/cross.bbclass8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index 1eaee1434..5ecbb6434 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -39,3 +39,11 @@ do_stage () {
do_install () {
:
}
+
+#
+# Override the default sysroot staging copy since this won't look like a target system
+#
+sysroot_stage_all() {
+ sysroot_stage_dir ${D} ${SYSROOT_DESTDIR}
+}
+