openssl 0.9.8m: added linux-nios2 definition
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sat, 5 Mar 2011 15:58:21 +0000 (16:58 +0100)
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
Sat, 5 Mar 2011 15:58:21 +0000 (16:58 +0100)
conditional patch for nios2 only
as others are not affected, no PR bump needed

Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
recipes/openssl/openssl-0.9.8m/Configure-nios2.patch [new file with mode: 0644]
recipes/openssl/openssl_0.9.8m.bb

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 (file)
index 0000000..fe0c021
--- /dev/null
@@ -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
index 4453a73..665d1ea 100644 (file)
@@ -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 = ""