diff options
author | Deepak Rawat <derawa@microsoft.com> | 2020-12-14 16:07:23 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-18 22:52:24 +0000 |
commit | 3eeed13c197a675caa39acc22829c2b9f6965934 (patch) | |
tree | 4467c5e0318a8c6ebbf3c2c830fdf913a2f843c1 /meta/recipes-connectivity/openssl | |
parent | 4e21385a95f623bbf0ad331348984f61a0d68b8a (diff) | |
download | poky-3eeed13c197a675caa39acc22829c2b9f6965934.tar.gz |
openssl: add support for mingw64 as target
Engines are installed in a slightly different path, and
the host type doesn't precisely match in x86_64
Co-authored-by: Paul Eggleton <paul.eggleton@microsoft.com>
Co-authored-by: Deepak Rawat <derawa@microsoft.com>
(From OE-Core rev: 166bb89f6d97495b6522786182b4f9623acd7ff4)
Signed-off-by: Luca Boccassi <luca.boccassi@microsoft.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-connectivity/openssl')
-rw-r--r-- | meta/recipes-connectivity/openssl/openssl_1.1.1i.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb b/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb index 52dbdf5880..c63ba3c8e7 100644 --- a/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb +++ b/meta/recipes-connectivity/openssl/openssl_1.1.1i.bb | |||
@@ -113,6 +113,9 @@ do_configure () { | |||
113 | linux-sparc | linux-supersparc) | 113 | linux-sparc | linux-supersparc) |
114 | target=linux-sparcv9 | 114 | target=linux-sparcv9 |
115 | ;; | 115 | ;; |
116 | mingw32-x86_64) | ||
117 | target=mingw64 | ||
118 | ;; | ||
116 | esac | 119 | esac |
117 | 120 | ||
118 | useprefix=${prefix} | 121 | useprefix=${prefix} |
@@ -195,6 +198,8 @@ FILES_openssl-conf = "${sysconfdir}/ssl/openssl.cnf \ | |||
195 | ${libdir}/ssl-1.1/openssl.cnf* \ | 198 | ${libdir}/ssl-1.1/openssl.cnf* \ |
196 | " | 199 | " |
197 | FILES_${PN}-engines = "${libdir}/engines-1.1" | 200 | FILES_${PN}-engines = "${libdir}/engines-1.1" |
201 | # ${prefix} comes from what we pass into --prefix at configure time (which is used for INSTALLTOP) | ||
202 | FILES_${PN}-engines_append_mingw32_class-nativesdk = " ${prefix}${libdir}/engines-1_1" | ||
198 | FILES_${PN}-misc = "${libdir}/ssl-1.1/misc ${bindir}/c_rehash" | 203 | FILES_${PN}-misc = "${libdir}/ssl-1.1/misc ${bindir}/c_rehash" |
199 | FILES_${PN} =+ "${libdir}/ssl-1.1/*" | 204 | FILES_${PN} =+ "${libdir}/ssl-1.1/*" |
200 | FILES_${PN}_append_class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/openssl.sh" | 205 | FILES_${PN}_append_class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/openssl.sh" |