aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/openssl
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2011-01-24 11:19:10 -0700
committerTom Rini <tom_rini@mentor.com>2011-01-24 11:19:10 -0700
commit46cc091e64b1be3eab002653b426a9492730cecd (patch)
tree8d0ecdcd9c3691d975c470390b4c3434cd489e9a /recipes/openssl
parent8b3c95117b79506d36a05994247003051d4e4ddd (diff)
downloadopenembedded-46cc091e64b1be3eab002653b426a9492730cecd.tar.gz
openssl.inc: Simplify our check for a 'linux' OS.
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/openssl')
-rw-r--r--recipes/openssl/openssl.inc10
1 files changed, 1 insertions, 9 deletions
diff --git a/recipes/openssl/openssl.inc b/recipes/openssl/openssl.inc
index 5ef322c486..55e9bbbdac 100644
--- a/recipes/openssl/openssl.inc
+++ b/recipes/openssl/openssl.inc
@@ -46,15 +46,7 @@ do_configure () {
ln -sf apps/openssl.pod crypto/crypto.pod ssl/ssl.pod doc/
os=${HOST_OS}
- if [ "x$os" = "xlinux-uclibc" ]; then
- os=linux
- elif [ "x$os" = "xlinux-uclibceabi" ]; then
- os=linux
- elif [ "x$os" = "xlinux-gnueabi" ]; then
- os=linux
- elif [ "x$os" = "xlinux-uclibcspe" ]; then
- os=linux
- elif [ "x$os" = "xlinux-gnuspe" ]; then
+ if [ `echo $os | grep -q linux; echo $?` -eq 0 ]; then
os=linux
fi
target="$os-${HOST_ARCH}"