From: Frans Meulenbroeks Date: Sat, 5 Mar 2011 15:58:21 +0000 (+0100) Subject: openssl 0.9.8m: added linux-nios2 definition X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39e87f731553f74c60523f5eb6092fe29ed52a6a;p=openembedded.git 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 --- 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 = ""