summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/openssl
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2014-08-15 18:44:16 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-08-16 08:22:45 +0100
commit5f69b6692711ab62597be7e5bc72a9f648d8f67b (patch)
treeaa29954f5a6f46fd7b4b643327231afe83e7bd5c /meta/recipes-connectivity/openssl
parent00e054eac305e5e32e30183e31dea415cc1f36ae (diff)
downloadpoky-5f69b6692711ab62597be7e5bc72a9f648d8f67b.tar.gz
openssl: Repace if-else with case and add musl triplet
Simplifies the code and adds knowlwdge about musl targets (From OE-Core rev: 106305227003761c3fc562c21bb859a5256f2b36) Signed-off-by: Khem Raj <raj.khem@gmail.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.inc20
1 files changed, 10 insertions, 10 deletions
diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index b839c00dde..a99953e4bc 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -60,17 +60,17 @@ do_configure () {
60 ln -sf apps/openssl.pod crypto/crypto.pod ssl/ssl.pod doc/ 60 ln -sf apps/openssl.pod crypto/crypto.pod ssl/ssl.pod doc/
61 61
62 os=${HOST_OS} 62 os=${HOST_OS}
63 if [ "x$os" = "xlinux-uclibc" ]; then 63 case $os in
64 linux-uclibceabi |\
65 linux-gnueabi |\
66 linux-uclibcspe |\
67 linux-gnuspe |\
68 linux-musl*)
64 os=linux 69 os=linux
65 elif [ "x$os" = "xlinux-uclibceabi" ]; then 70 ;;
66 os=linux 71 *)
67 elif [ "x$os" = "xlinux-uclibcspe" ]; then 72 ;;
68 os=linux 73 esac
69 elif [ "x$os" = "xlinux-gnuspe" ]; then
70 os=linux
71 elif [ "x$os" = "xlinux-gnueabi" ]; then
72 os=linux
73 fi
74 target="$os-${HOST_ARCH}" 74 target="$os-${HOST_ARCH}"
75 case $target in 75 case $target in
76 linux-arm) 76 linux-arm)