summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssl/openssl.inc
diff options
context:
space:
mode:
authorWenzong Fan <wenzong.fan@windriver.com>2015-08-03 16:52:45 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-11-25 08:08:07 +0000
commit9a4da3c5902701f1a506fb147c5d0ed4f5d291ed (patch)
tree94b13ab18fbe3221410ab7eeadb43363e1c41308 /meta/recipes-connectivity/openssl/openssl.inc
parent9163a5d02dcba6bc1fc62912f157df301f6f33b6 (diff)
downloadpoky-9a4da3c5902701f1a506fb147c5d0ed4f5d291ed.tar.gz
openssl: fix ptest issues
* follow symbolic links while copying sources from test/* * install required target files to remove Make errors: make[2]: *** No rule to make target 'xxx', needed by 'yyy'. * fix hardcode pathes: /usr/lib -> ${libdir}, /usr/bin -> ${bindir} (From OE-Core rev: 928adfc807d3c812fcd748e2cf65f392eebd852c) Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssl/openssl.inc')
-rw-r--r--meta/recipes-connectivity/openssl/openssl.inc14
1 files changed, 10 insertions, 4 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index b69cb4ca4e..429fc5e72c 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -191,12 +191,18 @@ do_install () {
191} 191}
192 192
193do_install_ptest () { 193do_install_ptest () {
194 cp -r Makefile test ${D}${PTEST_PATH} 194 cp -r -L Makefile.org Makefile test ${D}${PTEST_PATH}
195 cp Configure config e_os.h ${D}${PTEST_PATH}
196 cp -r -L include ${D}${PTEST_PATH}
197 ln -sf ${base_libdir}/libcrypto.a ${D}${PTEST_PATH}
198 ln -sf ${libdir}/libssl.a ${D}${PTEST_PATH}
199 mkdir -p ${D}${PTEST_PATH}/crypto
200 cp crypto/constant_time_locl.h ${D}${PTEST_PATH}/crypto
195 cp -r certs ${D}${PTEST_PATH} 201 cp -r certs ${D}${PTEST_PATH}
196 mkdir -p ${D}${PTEST_PATH}/apps 202 mkdir -p ${D}${PTEST_PATH}/apps
197 ln -sf /usr/lib/ssl/misc/CA.sh ${D}${PTEST_PATH}/apps 203 ln -sf ${libdir}/ssl/misc/CA.sh ${D}${PTEST_PATH}/apps
198 ln -sf /usr/lib/ssl/openssl.cnf ${D}${PTEST_PATH}/apps 204 ln -sf ${libdir}/ssl/openssl.cnf ${D}${PTEST_PATH}/apps
199 ln -sf /usr/bin/openssl ${D}${PTEST_PATH}/apps 205 ln -sf ${bindir}/openssl ${D}${PTEST_PATH}/apps
200 cp apps/server2.pem ${D}${PTEST_PATH}/apps 206 cp apps/server2.pem ${D}${PTEST_PATH}/apps
201 mkdir -p ${D}${PTEST_PATH}/util 207 mkdir -p ${D}${PTEST_PATH}/util
202 install util/opensslwrap.sh ${D}${PTEST_PATH}/util 208 install util/opensslwrap.sh ${D}${PTEST_PATH}/util