Patchwork openssl: Fix build on uclibc

login
register
mail settings
Submitter Khem Raj
Date Feb. 16, 2014, 1:45 a.m.
Message ID <1392515125-10593-1-git-send-email-raj.khem@gmail.com>
Download mbox | patch
Permalink /patch/66805/
State Accepted
Commit b448cf77d9bf688c4bf8d41cc70664259cc7b1ea
Headers show

Comments

Khem Raj - Feb. 16, 2014, 1:45 a.m.
we need to map OS string correctly to include linux-uclibcspe
which is what we use with ppc+spe on uclibc, additionally move
gnuspe triplet mapping to same code as well

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-connectivity/openssl/openssl.inc |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Patch

diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index 373d329..e924914 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -66,6 +66,10 @@  do_configure () {
 		os=linux
 	elif [ "x$os" = "xlinux-uclibceabi" ]; then
 		os=linux
+	elif [ "x$os" = "xlinux-uclibcspe" ]; then
+		os=linux
+	elif [ "x$os" = "xlinux-gnuspe" ]; then
+		os=linux
 	elif [ "x$os" = "xlinux-gnueabi" ]; then
 		os=linux
 	fi
@@ -113,9 +117,6 @@  do_configure () {
 	linux-powerpc)
 		target=linux-ppc
 		;;
-	linux-gnuspe-powerpc)
-		target=linux-ppc
-		;;
 	linux-powerpc64)
 		target=linux-ppc64
 		;;