summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorJuro Bystricky <juro.bystricky@intel.com>2018-01-04 12:24:04 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-02-19 23:51:23 +0000
commitd2ddc9986371c816cefee726e72aba6f09a816d7 (patch)
tree6f7e0bc3392993fe604145912f2a1439e5757db3 /meta/recipes-connectivity
parentabc7fbab2c125b247f3274ca4b29e4f858b5ae12 (diff)
downloadopenembedded-core-d2ddc9986371c816cefee726e72aba6f09a816d7.tar.gz
openembedded-core-d2ddc9986371c816cefee726e72aba6f09a816d7.tar.bz2
openembedded-core-d2ddc9986371c816cefee726e72aba6f09a816d7.zip
openssl-ptest: improve reproducibility
Remove buildhost references from Makefile and Configure. Signed-off-by: Juro Bystricky <juro.bystricky@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit 891e33f4ad0919f5b3be77cd63260121d62b6ee7) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta/recipes-connectivity')
-rw-r--r--meta/recipes-connectivity/openssl/openssl10.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl10.inc b/meta/recipes-connectivity/openssl/openssl10.inc
index a710e9e25a..23f97d76b3 100644
--- a/meta/recipes-connectivity/openssl/openssl10.inc
+++ b/meta/recipes-connectivity/openssl/openssl10.inc
@@ -255,6 +255,12 @@ do_install_ptest () {
for d in ssltest_old v3ext x509aux; do
rm -rf ${D}${libdir}/${BPN}/ptest/test/$d
done
+
+ # Remove build host references
+ sed -i \
+ -e 's,--sysroot=${STAGING_DIR_TARGET},,g' \
+ -e 's|${DEBUG_PREFIX_MAP}||g' \
+ ${D}${PTEST_PATH}/Makefile ${D}${PTEST_PATH}/Configure
}
do_install_append_class-native() {