[poky] [PATCH 25/25] openssl: powerpc gnueabi toolchain support

Adrian Alonso aalonso at secretlab.ca
Mon Jan 17 12:29:38 PST 2011


* Add powerpc-gnueabi toolchain configuration support

Signed-off-by: Adrian Alonso <aalonso at secretlab.ca>
---
 ...enssl-linux-gnueabi-powerpc-configuration.patch |   27 ++++++++++++++++++++
 .../openssl/openssl_0.9.8p.bbappend                |    5 +++
 2 files changed, 32 insertions(+), 0 deletions(-)
 create mode 100644 recipes-connectivity/openssl/openssl-0.9.8p/openssl-linux-gnueabi-powerpc-configuration.patch
 create mode 100644 recipes-connectivity/openssl/openssl_0.9.8p.bbappend

diff --git a/recipes-connectivity/openssl/openssl-0.9.8p/openssl-linux-gnueabi-powerpc-configuration.patch b/recipes-connectivity/openssl/openssl-0.9.8p/openssl-linux-gnueabi-powerpc-configuration.patch
new file mode 100644
index 0000000..5677756
--- /dev/null
+++ b/recipes-connectivity/openssl/openssl-0.9.8p/openssl-linux-gnueabi-powerpc-configuration.patch
@@ -0,0 +1,27 @@
+From f5fb652a90e71be1665bebb34622d5d205b5f68d Mon Sep 17 00:00:00 2001
+From: Adrian Alonso <aalonso at secretlab.ca>
+Date: Mon, 3 Jan 2011 15:33:20 -0600
+Subject: [PATCH] openssl: linux-gnueabi-powerpc configuration
+
+* Add linux-gnueabi-powerpc configuration option
+
+Signed-off-by: Adrian Alonso <aalonso at secretlab.ca>
+---
+ Configure |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/Configure b/Configure
+index 0428fd2..624e4a5 100755
+--- a/Configure
++++ b/Configure
+@@ -379,6 +379,7 @@ my %table=(
+ # throw in -D[BL]_ENDIAN, whichever appropriate...
+ "linux-generic32","gcc:-DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_INT DES_UNROLL BF_PTR:${no_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+ "linux-ppc",	"gcc:-DB_ENDIAN -DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL::linux_ppc32.o::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
++"linux-gnueabi-powerpc",	"gcc:-DB_ENDIAN -DTERMIO -O3 -Wall::-D_REENTRANT::-ldl:BN_LLONG RC4_CHAR RC4_CHUNK DES_RISC1 DES_UNROLL::linux_ppc32.o::::::::::dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+ #### IA-32 targets...
+ "linux-ia32-icc",	"icc:-DL_ENDIAN -DTERMIO -O2 -no_cpprt::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-KPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+ "linux-elf",	"gcc:-DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall::-D_REENTRANT::-ldl:BN_LLONG ${x86_gcc_des} ${x86_gcc_opts}:${x86_elf_asm}:dlfcn:linux-shared:-fPIC::.so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
+-- 
+1.7.3.4
+
diff --git a/recipes-connectivity/openssl/openssl_0.9.8p.bbappend b/recipes-connectivity/openssl/openssl_0.9.8p.bbappend
new file mode 100644
index 0000000..381f31c
--- /dev/null
+++ b/recipes-connectivity/openssl/openssl_0.9.8p.bbappend
@@ -0,0 +1,5 @@
+THISDIR := "${@os.path.dirname(bb.data.getVar('FILE', d, True))}"
+FILESPATH =. "${@base_set_filespath(["${THISDIR}/${PN}"], d)}:"
+
+SRC_URI_append += "file://openssl-linux-gnueabi-powerpc-configuration.patch \
+                  "
--
1.7.3.4



More information about the poky mailing list