summaryrefslogtreecommitdiffstats
path: root/meta/classes/native.bbclass
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-01-18 16:17:58 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-21 11:18:37 +0000
commitbc9d2fbfd4eaad0df5647dd5d07dfb9fcff80ff3 (patch)
tree932aff7c30893ed2625143e53a968521c8ebf8d7 /meta/classes/native.bbclass
parentb1025bd5385de70ba1e1fc8ec9d2fb59d7fe1e91 (diff)
downloadpoky-bc9d2fbfd4eaad0df5647dd5d07dfb9fcff80ff3.tar.gz
staging: Use relative path in sysroot-destdir for target recipes
Original we used absolute path in sysroot-destdir for both native and target recipes. This commit changes target recipes to use relative path which is same as the image directory. [sgw: merged with libtool sysroot work] Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/native.bbclass')
-rw-r--r--meta/classes/native.bbclass3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index 3ca9d62845..aec7fe38a9 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -60,6 +60,9 @@ base_prefix = "${STAGING_DIR_NATIVE}"
60prefix = "${STAGING_DIR_NATIVE}${prefix_native}" 60prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
61exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" 61exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}"
62 62
63do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}/${STAGING_DIR_NATIVE}"
64do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR_NATIVE}"
65
63# Since we actually install these into situ there is no staging prefix 66# Since we actually install these into situ there is no staging prefix
64STAGING_DIR_HOST = "" 67STAGING_DIR_HOST = ""
65STAGING_DIR_TARGET = "" 68STAGING_DIR_TARGET = ""