summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2017-08-28 13:28:19 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-08-31 17:41:41 +0100
commit477925617dd459b3cc2ccb2a7fbc041f05859770 (patch)
treebdea1a287ed3598abbbf9564735023ad9b1541b4
parentccf65a6b478b6cf6152859885160ca400a95a43c (diff)
downloadpoky-477925617dd459b3cc2ccb2a7fbc041f05859770.tar.gz
zlib_1.2.11.bb: remove build host references
Remove build host references from libz-ptest package. [YOCTO #11668] (From OE-Core rev: b61873fae6e5781fc2df7e9433daca023387dc26) Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/zlib/zlib_1.2.11.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-core/zlib/zlib_1.2.11.bb b/meta/recipes-core/zlib/zlib_1.2.11.bb
index ba216f679a..6410519882 100644
--- a/meta/recipes-core/zlib/zlib_1.2.11.bb
+++ b/meta/recipes-core/zlib/zlib_1.2.11.bb
@@ -45,6 +45,11 @@ do_install_ptest() {
45 install ${B}/minigzip ${D}${PTEST_PATH} 45 install ${B}/minigzip ${D}${PTEST_PATH}
46 install ${B}/examplesh ${D}${PTEST_PATH} 46 install ${B}/examplesh ${D}${PTEST_PATH}
47 install ${B}/minigzipsh ${D}${PTEST_PATH} 47 install ${B}/minigzipsh ${D}${PTEST_PATH}
48
49 # Remove buildhost references...
50 sed -i -e "s,--sysroot=${STAGING_DIR_TARGET},,g" \
51 -e 's|${DEBUG_PREFIX_MAP}||g' \
52 ${D}${PTEST_PATH}/Makefile
48} 53}
49 54
50# Move zlib shared libraries for target builds to $base_libdir so the library 55# Move zlib shared libraries for target builds to $base_libdir so the library