[oe-commits] Frans Meulenbroeks : openssl 0.9.8m: added linux-nios2 definition

git version control git at git.openembedded.org
Sat Mar 5 16:00:01 UTC 2011


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 39e87f731553f74c60523f5eb6092fe29ed52a6a
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=39e87f731553f74c60523f5eb6092fe29ed52a6a

Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date:   Sat Mar  5 16:58:21 2011 +0100

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 at gmail.com>

---

 .../openssl/openssl-0.9.8m/Configure-nios2.patch   |   14 ++++++++++++++
 recipes/openssl/openssl_0.9.8m.bb                  |    2 ++
 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 0000000..fe0c021
--- /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 4453a73..665d1ea 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 = ""





More information about the Openembedded-commits mailing list