diff options
author | Nitin A Kamble <nitin.a.kamble@intel.com> | 2011-12-02 12:20:01 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-12-05 22:47:06 +0000 |
commit | 51bfed2e26fc13a66e8b5710aa2ce1d7a04af721 (patch) | |
tree | 367b464b50cb25036b39e59891eda6be6467a83e /meta/recipes-connectivity/openssl/openssl.inc | |
parent | 4eaa9ffa3f934615dc18580640c74b3e51f93e17 (diff) | |
download | poky-51bfed2e26fc13a66e8b5710aa2ce1d7a04af721.tar.gz |
openssl-1.0.0e: fix to wotk with x32 toolchain
Add BN_ADDR for address type instead of using BN_ULONG or unsigned long:
1. For W64, address type is unsigned long long, not unsigned long.
2. For x32, address type is unsigned long , not BN_ULONG.
Added a new targetlinux-x32 in the config file
The do_install() code to move lib/* to lib64 is not needed now with the
enhanced multilib support.
Make the x86-64 assembly syntax compatible with x32 compiler.
(From OE-Core rev: 340c14ac49afa1559c12f8848bef9b6ecf24ef35)
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
Signed-off-by: H.J. Lu <hjl.tools@gmail.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 | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc index c717fee514..771f146af9 100644 --- a/meta/recipes-connectivity/openssl/openssl.inc +++ b/meta/recipes-connectivity/openssl/openssl.inc | |||
@@ -82,6 +82,12 @@ do_configure () { | |||
82 | linux-i686) | 82 | linux-i686) |
83 | target=debian-i386-i686/cmov | 83 | target=debian-i386-i686/cmov |
84 | ;; | 84 | ;; |
85 | linux-gnux32-x86_64) | ||
86 | target=linux-x32 | ||
87 | ;; | ||
88 | linux-gnu64-x86_64) | ||
89 | target=linux-x86_64 | ||
90 | ;; | ||
85 | linux-mips) | 91 | linux-mips) |
86 | target=debian-mips | 92 | target=debian-mips |
87 | ;; | 93 | ;; |
@@ -123,15 +129,6 @@ do_compile () { | |||
123 | do_install () { | 129 | do_install () { |
124 | oe_runmake INSTALL_PREFIX="${D}" MANDIR="${mandir}" install | 130 | oe_runmake INSTALL_PREFIX="${D}" MANDIR="${mandir}" install |
125 | 131 | ||
126 | # On x86_64, move lib/* to lib64 | ||
127 | if [ "${libdir}" != "${prefix}/lib" ] | ||
128 | then | ||
129 | install -m 0755 ${D}${libdir} ${D}${libdir}/pkgconfig | ||
130 | mv ${D}${prefix}/lib/lib* ${D}${libdir} | ||
131 | mv ${D}${prefix}/lib/pkgconfig/*.pc ${D}${libdir}/pkgconfig | ||
132 | chmod 644 ${D}${libdir}/pkgconfig/openssl.pc | ||
133 | fi | ||
134 | |||
135 | oe_libinstall -so libcrypto ${D}${libdir} | 132 | oe_libinstall -so libcrypto ${D}${libdir} |
136 | oe_libinstall -so libssl ${D}${libdir} | 133 | oe_libinstall -so libssl ${D}${libdir} |
137 | 134 | ||