Patchwork [5/5] openssl: Add handling for building on linux-powerpc64

login
register
mail settings
Submitter Kumar Gala
Date July 22, 2011, 9:24 a.m.
Message ID <1311326696-11745-6-git-send-email-galak@kernel.crashing.org>
Download mbox | patch
Permalink /patch/8317/
State New, archived
Headers show

Comments

Kumar Gala - July 22, 2011, 9:24 a.m.
If try to build for an ppc64 target openssl will fail to build since
the configure script didn't know how to handle a 'linux-powerpc64' target.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 meta/recipes-connectivity/openssl/openssl.inc |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
Tom Rini - July 22, 2011, 2:16 p.m.
On 07/22/2011 02:24 AM, Kumar Gala wrote:
> If try to build for an ppc64 target openssl will fail to build since
> the configure script didn't know how to handle a 'linux-powerpc64' target.
> 
> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>

Acked-by: Tom Rini <tom_rini@mentor.com>

> ---
>  meta/recipes-connectivity/openssl/openssl.inc |    3 +++
>  1 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
> index 79620b3..b134ad0 100644
> --- a/meta/recipes-connectivity/openssl/openssl.inc
> +++ b/meta/recipes-connectivity/openssl/openssl.inc
> @@ -83,6 +83,9 @@ do_configure () {
>  	linux-gnuspe-powerpc)
>  		target=linux-ppc
>  		;;
> +	linux-powerpc64)
> +		target=linux-ppc64
> +		;;
>  	linux-supersparc)
>  		target=linux-sparcv8
>  		;;

Patch

diff --git a/meta/recipes-connectivity/openssl/openssl.inc b/meta/recipes-connectivity/openssl/openssl.inc
index 79620b3..b134ad0 100644
--- a/meta/recipes-connectivity/openssl/openssl.inc
+++ b/meta/recipes-connectivity/openssl/openssl.inc
@@ -83,6 +83,9 @@  do_configure () {
 	linux-gnuspe-powerpc)
 		target=linux-ppc
 		;;
+	linux-powerpc64)
+		target=linux-ppc64
+		;;
 	linux-supersparc)
 		target=linux-sparcv8
 		;;