diff options
author | Wenzong Fan <wenzong.fan@windriver.com> | 2015-09-30 03:59:33 -0400 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-01 07:40:37 +0100 |
commit | d61e73a37f805fd56efda1a6cfe7262356fc6274 (patch) | |
tree | b888cfe19a8f5efff35b47a2d6171874c85fc269 /meta | |
parent | 44c1a6af03ce9b45e5bfd6956062aa2b3a1be741 (diff) | |
download | openembedded-core-d61e73a37f805fd56efda1a6cfe7262356fc6274.tar.gz openembedded-core-d61e73a37f805fd56efda1a6cfe7262356fc6274.tar.bz2 openembedded-core-d61e73a37f805fd56efda1a6cfe7262356fc6274.zip |
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
Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/apr/apr-util_1.5.4.bb | 6 |
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() { sed -i "s#\(LIBTOOL=\$(apr_builddir)\).*#\1/libtool#" ${S}/build/rules.mk } +do_install_append_class-target() { + sed -i -e 's,${STAGING_DIR_HOST},,g' \ + -e 's,APU_SOURCE_DIR=.*,APR_SOURCE_DIR=,g' \ + -e 's,APU_BUILD_DIR=.*,APR_BUILD_DIR=,g' ${D}${bindir}/apu-1-config +} + FILES_${PN} += "${libdir}/apr-util-1/apr_dbm_gdbm-1.so" FILES_${PN}-dev += "${libdir}/aprutil.exp ${libdir}/apr-util-1/apr_dbm_gdbm.so* ${libdir}/apr-util-1/apr_dbm_gdbm.la" FILES_${PN}-dbg += "${libdir}/apr-util-1/.debug/*" |