summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLeon Woestenberg <leon@sidebranch.com>2009-09-26 19:21:09 +0200
committerLeon Woestenberg <leon@sidebranch.com>2009-09-26 19:22:33 +0200
commit6215a1952a719420a1461479e5b261792bac8922 (patch)
treed0db67ed044a93eec64df25a6e5a75a287275cb7
parent3726ebb80ecb3a21c1acbd98967ab5de7b58e5a6 (diff)
openssl.inc: Deal with HOST_OS=linux-gnu during configure.
Signed-off-by: Leon Woestenberg <leon@sidebranch.com>
-rw-r--r--recipes/openssl/openssl.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/recipes/openssl/openssl.inc b/recipes/openssl/openssl.inc
index 9031b7b3bb..4c6e43543b 100644
--- a/recipes/openssl/openssl.inc
+++ b/recipes/openssl/openssl.inc
@@ -6,7 +6,7 @@ SECTION = "libs/network"
SRC_URI = "http://www.openssl.org/source/openssl-${PV}.tar.gz"
S = "${WORKDIR}/openssl-${PV}"
-INC_PR = "r10"
+INC_PR = "r11"
AR_append = " r"
CFLAG = "${@base_conditional('SITEINFO_ENDIANESS', 'le', '-DL_ENDIAN', '-DB_ENDIAN', d)} \
@@ -33,8 +33,9 @@ do_configure () {
os=${HOST_OS}
if [ "x$os" = "xlinux-uclibc" ]; then
os=linux
- fi
- if [ "x$os" = "xlinux-uclibceabi" ]; then
+ elif [ "x$os" = "xlinux-uclibceabi" ]; then
+ os=linux
+ elif [ "x$os" = "xlinux-gnu" ]; then
os=linux
fi
target="$os-${HOST_ARCH}"