summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/apr
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/recipes-support/apr
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/recipes-support/apr')
-rw-r--r--meta/recipes-support/apr/apr_1.4.2.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/apr/apr_1.4.2.bb b/meta/recipes-support/apr/apr_1.4.2.bb
index fe983eb7f7..ce26ef17cb 100644
--- a/meta/recipes-support/apr/apr_1.4.2.bb
+++ b/meta/recipes-support/apr/apr_1.4.2.bb
@@ -37,7 +37,7 @@ do_configure_append() {
37SYSROOT_PREPROCESS_FUNCS += "apr_sysroot_preprocess" 37SYSROOT_PREPROCESS_FUNCS += "apr_sysroot_preprocess"
38 38
39apr_sysroot_preprocess () { 39apr_sysroot_preprocess () {
40 d=${SYSROOT_DESTDIR}${STAGING_DIR_TARGET}${datadir}/apr 40 d=${SYSROOT_DESTDIR}${datadir}/apr
41 install -d $d/ 41 install -d $d/
42 cp ${S}/build/apr_rules.mk $d/ 42 cp ${S}/build/apr_rules.mk $d/
43 sed -i s,apr_builddir=.*,apr_builddir=,g $d/apr_rules.mk 43 sed -i s,apr_builddir=.*,apr_builddir=,g $d/apr_rules.mk