summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-connectivity/openssl/openssl.inc13
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index 20dd74062a..2e2000cc26 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -215,6 +215,19 @@ do_install_ptest () {
215 mkdir -p ${D}${PTEST_PATH}/util 215 mkdir -p ${D}${PTEST_PATH}/util
216 install util/opensslwrap.sh ${D}${PTEST_PATH}/util 216 install util/opensslwrap.sh ${D}${PTEST_PATH}/util
217 install util/shlib_wrap.sh ${D}${PTEST_PATH}/util 217 install util/shlib_wrap.sh ${D}${PTEST_PATH}/util
218 # Time stamps are relevant for "make alltests", otherwise
219 # make may try to recompile binaries. Not only must the
220 # binary files be newer than the sources, they also must
221 # be more recent than the header files in /usr/include.
222 #
223 # Using "cp -a" is not sufficient, because do_install
224 # does not preserve the original time stamps.
225 #
226 # So instead of using the original file stamps, we set
227 # the current time for all files. Binaries will get
228 # modified again later when stripping them, but that's okay.
229 touch ${D}${PTEST_PATH}
230 find ${D}${PTEST_PATH} -type f -print0 | xargs --verbose -0 touch -r ${D}${PTEST_PATH}
218} 231}
219 232
220do_install_append_class-native() { 233do_install_append_class-native() {