[oe-commits] Tom Rini : openssl.inc: Simplify our check for a 'linux' OS.
git version control
git at git.openembedded.org
Mon Jan 24 18:19:46 UTC 2011
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 46cc091e64b1be3eab002653b426a9492730cecd
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=46cc091e64b1be3eab002653b426a9492730cecd
Author: Tom Rini <tom_rini at mentor.com>
Date: Mon Jan 24 11:19:10 2011 -0700
openssl.inc: Simplify our check for a 'linux' OS.
Signed-off-by: Tom Rini <tom_rini at mentor.com>
---
recipes/openssl/openssl.inc | 10 +---------
1 files changed, 1 insertions(+), 9 deletions(-)
diff --git a/recipes/openssl/openssl.inc b/recipes/openssl/openssl.inc
index 5ef322c..55e9bbb 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}"
More information about the Openembedded-commits
mailing list