summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2015-09-30 03:59:33 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-01 07:43:37 +0100
commitf671163bbbc5b5359556ad342228d0d8e1fb4ed3 (patch)
treea6977c5a47015118833a4c6ec384d51f292daa52 /meta/recipes-support
parentf68d739357dd0ce9a971a5d7f5eaab27bbc2c9c1 (diff)
downloadpoky-f671163bbbc5b5359556ad342228d0d8e1fb4ed3.tar.gz
apr-utils: cleanup buildpaths for target stuffs
* cleanup buildpaths from apu-1-config: - remove ${STAGING_DIR_HOST} from CC, CPP ... - set APU_SOURCE_DIR, APU_BUILD_DIR as empty (From OE-Core rev: d61e73a37f805fd56efda1a6cfe7262356fc6274) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/apr/apr-util_1.5.4.bb6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-support/apr/apr-util_1.5.4.bb b/meta/recipes-support/apr/apr-util_1.5.4.bb
index 6a14d14d41..a36f13db54 100644
--- a/meta/recipes-support/apr/apr-util_1.5.4.bb
+++ b/meta/recipes-support/apr/apr-util_1.5.4.bb
@@ -60,6 +60,12 @@ do_configure_append_class-nativesdk() {
60 sed -i "s#\(LIBTOOL=\$(apr_builddir)\).*#\1/libtool#" ${S}/build/rules.mk 60 sed -i "s#\(LIBTOOL=\$(apr_builddir)\).*#\1/libtool#" ${S}/build/rules.mk
61} 61}
62 62
63do_install_append_class-target() {
64 sed -i -e 's,${STAGING_DIR_HOST},,g' \
65 -e 's,APU_SOURCE_DIR=.*,APR_SOURCE_DIR=,g' \
66 -e 's,APU_BUILD_DIR=.*,APR_BUILD_DIR=,g' ${D}${bindir}/apu-1-config
67}
68
63FILES_${PN} += "${libdir}/apr-util-1/apr_dbm_gdbm-1.so" 69FILES_${PN} += "${libdir}/apr-util-1/apr_dbm_gdbm-1.so"
64FILES_${PN}-dev += "${libdir}/aprutil.exp ${libdir}/apr-util-1/apr_dbm_gdbm.so* ${libdir}/apr-util-1/apr_dbm_gdbm.la" 70FILES_${PN}-dev += "${libdir}/aprutil.exp ${libdir}/apr-util-1/apr_dbm_gdbm.so* ${libdir}/apr-util-1/apr_dbm_gdbm.la"
65FILES_${PN}-dbg += "${libdir}/apr-util-1/.debug/*" 71FILES_${PN}-dbg += "${libdir}/apr-util-1/.debug/*"