summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity
diff options
context:
space:
mode:
authorDeepak Rawat <derawa@microsoft.com>2020-12-14 16:07:23 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-18 22:52:24 +0000
commit3eeed13c197a675caa39acc22829c2b9f6965934 (patch)
tree4467c5e0318a8c6ebbf3c2c830fdf913a2f843c1 /meta/recipes-connectivity
parent4e21385a95f623bbf0ad331348984f61a0d68b8a (diff)
downloadpoky-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')
-rw-r--r--meta/recipes-connectivity/openssl/openssl_1.1.1i.bb5
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 "
197FILES_${PN}-engines = "${libdir}/engines-1.1" 200FILES_${PN}-engines = "${libdir}/engines-1.1"
201# ${prefix} comes from what we pass into --prefix at configure time (which is used for INSTALLTOP)
202FILES_${PN}-engines_append_mingw32_class-nativesdk = " ${prefix}${libdir}/engines-1_1"
198FILES_${PN}-misc = "${libdir}/ssl-1.1/misc ${bindir}/c_rehash" 203FILES_${PN}-misc = "${libdir}/ssl-1.1/misc ${bindir}/c_rehash"
199FILES_${PN} =+ "${libdir}/ssl-1.1/*" 204FILES_${PN} =+ "${libdir}/ssl-1.1/*"
200FILES_${PN}_append_class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/openssl.sh" 205FILES_${PN}_append_class-nativesdk = " ${SDKPATHNATIVE}/environment-setup.d/openssl.sh"