aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2011-03-05 16:58:21 +0100
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2011-03-05 16:58:21 +0100
commit39e87f731553f74c60523f5eb6092fe29ed52a6a (patch)
tree1a262f0db7a0a43e3280d430c526aebbcc2d8f4a
parent99510d5479ae893889e81fd37d63eaa97b25c5e1 (diff)
downloadopenembedded-39e87f731553f74c60523f5eb6092fe29ed52a6a.tar.gz
openssl 0.9.8m: added linux-nios2 definition
conditional patch for nios2 only as others are not affected, no PR bump needed Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
-rw-r--r--recipes/openssl/openssl-0.9.8m/Configure-nios2.patch14
-rw-r--r--recipes/openssl/openssl_0.9.8m.bb2
2 files changed, 16 insertions, 0 deletions
diff --git a/recipes/openssl/openssl-0.9.8m/Configure-nios2.patch b/recipes/openssl/openssl-0.9.8m/Configure-nios2.patch
new file mode 100644
index 0000000000..fe0c02154b
--- /dev/null
+++ b/recipes/openssl/openssl-0.9.8m/Configure-nios2.patch
@@ -0,0 +1,14 @@
+Index: openssl-0.9.8m/Configure
+===================================================================
+--- openssl-0.9.8m.orig/Configure
++++ openssl-0.9.8m/Configure
+@@ -608,6 +608,9 @@ my %table=(
+ ##### Compaq Non-Stop Kernel (Tandem)
+ "tandem-c89","c89:-Ww -D__TANDEM -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1 -D_TANDEM_SOURCE -DB_ENDIAN::(unknown):::THIRTY_TWO_BIT:::",
+
++
++##### nios2
++"linux-nios2","$ENV{'CC'}:-DL_ENDIAN -DTERMIO -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2 -Wall::-D_REENTRANT::-ldl:BN_LLONG DES_RISC1::::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+ );
+
+ my @MK1MF_Builds=qw(VC-WIN64I VC-WIN64A
diff --git a/recipes/openssl/openssl_0.9.8m.bb b/recipes/openssl/openssl_0.9.8m.bb
index 4453a73dcc..665d1ea594 100644
--- a/recipes/openssl/openssl_0.9.8m.bb
+++ b/recipes/openssl/openssl_0.9.8m.bb
@@ -13,4 +13,6 @@ SRC_URI += "file://configure-targets.patch \
file://debian.patch \
file://oe-ldflags.patch"
+SRC_URI_append_nios2 += "file://Configure-nios2.patch"
+
PARALLEL_MAKE = ""