diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-01-29 17:33:35 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-15 21:58:27 +0000 |
commit | 7502fa5febdd7a2281d626f7040782fb1f9af59e (patch) | |
tree | 33a5a9a15fd8b4f285ca39d6fbdaacf5ce415129 /meta/recipes-connectivity/openssl/openssl.inc | |
parent | 60b33e5b93b7c5189b9fdb8ac27646bf80bac382 (diff) | |
download | poky-7502fa5febdd7a2281d626f7040782fb1f9af59e.tar.gz |
openssl: fix and enable parallel build
Fixed:
Cannot create directory image/usr: File exists
make: *** [install_sw] Error 17
Create /usr to avoid race issues.
(From OE-Core rev: a831cbe6cce67396148b41d56cbc12f99a972bd1)
Signed-off-by: Robert Yang <liezhi.yang@windriver.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.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc index 78ba5c8a22..6eb1b5eac9 100644 --- a/meta/recipes-connectivity/openssl/openssl.inc +++ b/meta/recipes-connectivity/openssl/openssl.inc | |||
@@ -155,6 +155,9 @@ do_compile_ptest () { | |||
155 | } | 155 | } |
156 | 156 | ||
157 | do_install () { | 157 | do_install () { |
158 | # Create ${D}/${prefix} to fix parallel issues | ||
159 | mkdir -p ${D}/${prefix}/ | ||
160 | |||
158 | oe_runmake INSTALL_PREFIX="${D}" MANDIR="${mandir}" install | 161 | oe_runmake INSTALL_PREFIX="${D}" MANDIR="${mandir}" install |
159 | 162 | ||
160 | oe_libinstall -so libcrypto ${D}${libdir} | 163 | oe_libinstall -so libcrypto ${D}${libdir} |